Mercurial > libavformat.hg
comparison os_support.h @ 448:66217205fe4e libavformat
cygwin patch by ("Sascha Sommer" <saschasommer at freenet dot de>)
author | michael |
---|---|
date | Sat, 24 Apr 2004 11:51:38 +0000 |
parents | 9f4f4ca9f7b5 |
children | 8bf9be9bb107 |
comparison
equal
deleted
inserted
replaced
447:94aa265c18b9 | 448:66217205fe4e |
---|---|
9 * - floatf() (OS/2) | 9 * - floatf() (OS/2) |
10 * - strcasecmp() (OS/2) | 10 * - strcasecmp() (OS/2) |
11 */ | 11 */ |
12 | 12 |
13 #ifdef __MINGW32__ | 13 #ifdef __MINGW32__ |
14 # undef DATADIR /* clashes with /usr/include/w32api/objidl.h */ | |
15 __declspec(dllimport) void __stdcall Sleep(unsigned long dwMilliseconds); | 14 __declspec(dllimport) void __stdcall Sleep(unsigned long dwMilliseconds); |
16 // # include <windows.h> | 15 // # include <windows.h> |
17 # define usleep(t) Sleep((t) / 1000) | 16 # define usleep(t) Sleep((t) / 1000) |
18 #endif | 17 #endif |
19 | 18 |