diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2008-03-08 17:43:10 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2008-03-08 17:43:10 +0000 |
commit | 591cf1170bd9a71c97776828963f299923aed1d7 (patch) | |
tree | d0e60e2438315a69bc4f54c0807ca8cd247f3dd0 | |
parent | 8d06bd53f8daedd2928403abe3013225665e2d49 (diff) | |
download | ffmpeg-streaming-591cf1170bd9a71c97776828963f299923aed1d7.zip ffmpeg-streaming-591cf1170bd9a71c97776828963f299923aed1d7.tar.gz |
Group network-related code together
Originally committed as revision 12371 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/os_support.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/os_support.h b/libavformat/os_support.h index 26141fe..ee095c7 100644 --- a/libavformat/os_support.h +++ b/libavformat/os_support.h @@ -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(unsigned long dwMilliseconds); # 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 |