[FFmpeg-cvslog] r12372 - trunk/libavformat/os_support.h

ramiro subversion
Sat Mar 8 18:43:54 CET 2008


Author: ramiro
Date: Sat Mar  8 18:43:53 2008
New Revision: 12372

Log:
Put network-related code under #ifdef

Modified:
   trunk/libavformat/os_support.h

Modified: trunk/libavformat/os_support.h
==============================================================================
--- trunk/libavformat/os_support.h	(original)
+++ trunk/libavformat/os_support.h	Sat Mar  8 18:43:53 2008
@@ -52,6 +52,7 @@ __declspec(dllimport) void WINAPI Sleep(
 #  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 */




More information about the ffmpeg-cvslog mailing list