mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-04-24 00:30:57 +08:00
__stdcall -> WINAPI
Windows x64 has no __stdcall. It is not yet supported, but someday it might... Originally committed as revision 12363 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -32,7 +32,7 @@ typedef int socklen_t;
|
||||
#endif
|
||||
|
||||
#ifdef __MINGW32__
|
||||
__declspec(dllimport) void __stdcall Sleep(unsigned long dwMilliseconds);
|
||||
__declspec(dllimport) void WINAPI Sleep(unsigned long dwMilliseconds);
|
||||
// # include <windows.h>
|
||||
# define usleep(t) Sleep((t) / 1000)
|
||||
# include <fcntl.h>
|
||||
|
||||
Reference in New Issue
Block a user