Declare diverted Win32 functions as __stdcall.

This commit is contained in:
Sam Hocevar 2009-12-07 21:12:22 +00:00 committed by sam
parent 21d6697bf0
commit 83047925d2

View File

@ -40,7 +40,7 @@
static void insert_func(void *, void *, void *);
/* TODO: get rid of this later */
HINSTANCE (*LoadLibraryA_orig)(LPCSTR);
HINSTANCE (__stdcall *LoadLibraryA_orig)(LPCSTR);
HINSTANCE __stdcall LoadLibraryA_new(LPCSTR path)
{
void *ret;