mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02: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:
parent
0e32c8c65a
commit
5dea940937
@ -36,7 +36,7 @@ typedef struct ThreadContext{
|
|||||||
}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;
|
ThreadContext *c= v;
|
||||||
|
|
||||||
for(;;){
|
for(;;){
|
||||||
|
@ -32,7 +32,7 @@ typedef int socklen_t;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __MINGW32__
|
#ifdef __MINGW32__
|
||||||
__declspec(dllimport) void __stdcall Sleep(unsigned long dwMilliseconds);
|
__declspec(dllimport) void WINAPI Sleep(unsigned long dwMilliseconds);
|
||||||
// # include <windows.h>
|
// # include <windows.h>
|
||||||
# define usleep(t) Sleep((t) / 1000)
|
# define usleep(t) Sleep((t) / 1000)
|
||||||
# include <fcntl.h>
|
# include <fcntl.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user