Browse Source

Put network-related code under #ifdef

Originally committed as revision 12372 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Ramiro Polla 17 years ago
parent
commit
409e1d71ea
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/os_support.h

+ 2
- 0
libavformat/os_support.h View File

@@ -52,6 +52,7 @@ __declspec(dllimport) void WINAPI Sleep(unsigned long dwMilliseconds);
# endif
#endif

#ifdef CONFIG_NETWORK
#ifndef HAVE_SOCKLEN_T
typedef int socklen_t;
#endif
@@ -89,5 +90,6 @@ struct pollfd {
extern int poll(struct pollfd *fds, nfds_t numfds, int timeout);
#endif /* HAVE_POLL_H */
#endif /* CONFIG_FFSERVER */
#endif /* CONFIG_NETWORK */

#endif /* FFMPEG_OS_SUPPORT_H */

Loading…
Cancel
Save