Skip to content
Snippets Groups Projects
Commit 2494e4d8 authored by rswindell's avatar rswindell
Browse files

Resolve msvc6 warning:

warning C4229: anachronism used : modifiers on data are ignored
parent 8c382ee4
Branches
Tags
No related merge requests found
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#elif defined(_WIN32) #elif defined(_WIN32)
#include <Windows.h> #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); DLLEXPORT dll_handle DLLCALL xp_dlopen(const char **name, int mode, int major);
#define xp_dlsym(handle, name) ((void *)GetProcAddress(handle, #name)) #define xp_dlsym(handle, name) ((void *)GetProcAddress(handle, #name))
#define xp_dlclose(handle) (FreeLibrary(handle)?0:-1) #define xp_dlclose(handle) (FreeLibrary(handle)?0:-1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment