Mercurial > libavformat.hg
comparison os_support.h @ 3127:ca53e89f3448 libavformat
Define WIN32_LEAN_AND_MEAN before including windows.h to exclude
rarely-used header files.
author | ramiro |
---|---|
date | Sat, 08 Mar 2008 19:00:55 +0000 |
parents | d39f51044b17 |
children | 55ce214a13ea |
comparison
equal
deleted
inserted
replaced
3126:d39f51044b17 | 3127:ca53e89f3448 |
---|---|
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 #ifdef __MINGW32__ | 30 #ifdef __MINGW32__ |
31 # define WIN32_LEAN_AND_MEAN | |
31 # include <windows.h> | 32 # include <windows.h> |
32 # define usleep(t) Sleep((t) / 1000) | 33 # define usleep(t) Sleep((t) / 1000) |
33 # include <fcntl.h> | 34 # include <fcntl.h> |
34 # define lseek(f,p,w) _lseeki64((f), (p), (w)) | 35 # define lseek(f,p,w) _lseeki64((f), (p), (w)) |
35 #endif | 36 #endif |