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

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


Author: ramiro
Date: Sat Mar  8 18:43:10 2008
New Revision: 12371

Log:
Group network-related code together

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:10 2008
@@ -27,10 +27,6 @@
  * miscellaneous OS support macros and functions.
  */
 
-#ifndef HAVE_SOCKLEN_T
-typedef int socklen_t;
-#endif
-
 #ifdef __MINGW32__
 __declspec(dllimport) void WINAPI Sleep(unsigned long dwMilliseconds);
 // #  include <windows.h>
@@ -56,6 +52,10 @@ __declspec(dllimport) void WINAPI Sleep(
 #  endif
 #endif
 
+#ifndef HAVE_SOCKLEN_T
+typedef int socklen_t;
+#endif
+
 /* most of the time closing a socket is just closing an fd */
 #ifndef HAVE_CLOSESOCKET
 #define closesocket close




More information about the ffmpeg-cvslog mailing list