changeset 1441:78e8c23729f4 libavcodec

MingW patches by (Glenn Maynard <g_sf at zewt dot org>)
author michaelni
date Thu, 04 Sep 2003 08:21:27 +0000
parents 902750d5393b
children 2a4bd3a11d4a
files os_support.h
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/os_support.h	Tue Sep 02 08:34:29 2003 +0000
+++ b/os_support.h	Thu Sep 04 08:21:27 2003 +0000
@@ -12,7 +12,8 @@
 
 #ifdef __MINGW32__
 #  undef DATADIR /* clashes with /usr/include/w32api/objidl.h */
-#  include <windows.h>
+__declspec(dllimport) void __stdcall Sleep(unsigned long dwMilliseconds);
+// #  include <windows.h>
 #  define usleep(t)    Sleep((t) / 1000)
 #endif