mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-05 15:00:06 +00:00
Make winTerminate() a WINAPI function
This macro makes it use the stdcall calling convention when compiling for 32-bit Windows. Its absence was technically a bug, but it's a no-op on 64-bit Windows.
This commit is contained in:
parent
96c430c994
commit
edfbe4d005
@ -64,7 +64,7 @@ void terminate(int arg) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
static BOOL winTerminate(DWORD arg) {
|
static BOOL WINAPI winTerminate(DWORD arg) {
|
||||||
terminate(0);
|
terminate(0);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user