Commit afdc14e9 authored by ramiro's avatar ramiro

__stdcall -> WINAPI

Windows x64 has no __stdcall.
It is not yet supported, but someday it might...

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12363 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 14edbf1b
......@@ -36,7 +36,7 @@ typedef struct ThreadContext{
}ThreadContext;
static unsigned __stdcall attribute_align_arg thread_func(void *v){
static unsigned WINAPI attribute_align_arg thread_func(void *v){
ThreadContext *c= v;
for(;;){
......
......@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment