diff options
-rw-r--r-- | src/dlfcn.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dlfcn.c b/src/dlfcn.c index 394ee19..c4f410d 100644 --- a/src/dlfcn.c +++ b/src/dlfcn.c | |||
@@ -33,6 +33,11 @@ | |||
33 | #include <stdio.h> | 33 | #include <stdio.h> |
34 | #include <stdlib.h> | 34 | #include <stdlib.h> |
35 | 35 | ||
36 | /* Older versions do not have this type */ | ||
37 | #if _WIN32_WINNT < 0x0500 | ||
38 | typedef ULONG ULONG_PTR; | ||
39 | #endif | ||
40 | |||
36 | /* Older SDK versions do not have these macros */ | 41 | /* Older SDK versions do not have these macros */ |
37 | #ifndef GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS | 42 | #ifndef GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS |
38 | #define GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS 0x4 | 43 | #define GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS 0x4 |