Skip to content
Snippets Groups Projects
Commit 89b9fd41 authored by deuce's avatar deuce
Browse files

#include <windows.h>

Apparently, I can't just #include <Winbase.h> for LoadLibrary()
parent f4e04ee7
Branches
Tags
No related merge requests found
......@@ -12,7 +12,7 @@
#define xp_dlsym(handle, name) dlsym(handle, #name)
#define xp_dlclose(handle) dlclose(handle)
#elif defined(_WIN32)
#include <Winbase.h>
#include <Windows.h>
typedef HMODULE WINAPI dll_handle;
DLLEXPORT dll_handle DLLCALL xp_dlopen(const char **name, int mode, int major);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment