Mercurial > libavformat.hg
comparison os_support.h @ 2878:5ba8eab6e1da libavformat
Add portable way to check for the existence of definitions and
apply it to socklen_t.
patch by Dave Yeo, daveryeo telus net
author | diego |
---|---|
date | Tue, 01 Jan 2008 22:54:35 +0000 |
parents | 02256c92627d |
children | 1135ef610233 |
comparison
equal
deleted
inserted
replaced
2877:f0665d1388ad | 2878:5ba8eab6e1da |
---|---|
25 /** | 25 /** |
26 * @file os_support.h | 26 * @file os_support.h |
27 * miscellaneous OS support macros and functions. | 27 * miscellaneous OS support macros and functions. |
28 */ | 28 */ |
29 | 29 |
30 #if defined(__BEOS__) || defined(__INNOTEK_LIBC__) || defined(__DJGPP__) | 30 #ifndef HAVE_SOCKLEN_T |
31 typedef int socklen_t; | 31 typedef int socklen_t; |
32 #endif | 32 #endif |
33 | 33 |
34 #ifdef __MINGW32__ | 34 #ifdef __MINGW32__ |
35 __declspec(dllimport) void __stdcall Sleep(unsigned long dwMilliseconds); | 35 __declspec(dllimport) void __stdcall Sleep(unsigned long dwMilliseconds); |