Mercurial > libavformat.hg
changeset 3124:7591b632d1c6 libavformat
Group network-related code together
author | ramiro |
---|---|
date | Sat, 08 Mar 2008 17:43:10 +0000 |
parents | 87d84e9dfeba |
children | bc818669cdbd |
files | os_support.h |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/os_support.h Sat Mar 08 14:39:43 2008 +0000 +++ b/os_support.h Sat Mar 08 17:43:10 2008 +0000 @@ -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 @@ # 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