From 2494e4d8461e303a8a6c0c25513a08d63a7102dd Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Wed, 13 Jul 2011 09:44:18 +0000 Subject: [PATCH] Resolve msvc6 warning: warning C4229: anachronism used : modifiers on data are ignored --- src/xpdev/xp_dl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xpdev/xp_dl.h b/src/xpdev/xp_dl.h index 4469cbbc3e..6fe84df3d7 100644 --- a/src/xpdev/xp_dl.h +++ b/src/xpdev/xp_dl.h @@ -14,7 +14,7 @@ #elif defined(_WIN32) #include <Windows.h> - typedef HMODULE WINAPI dll_handle; + typedef HMODULE dll_handle; DLLEXPORT dll_handle DLLCALL xp_dlopen(const char **name, int mode, int major); #define xp_dlsym(handle, name) ((void *)GetProcAddress(handle, #name)) #define xp_dlclose(handle) (FreeLibrary(handle)?0:-1) -- GitLab