diff options
Diffstat (limited to 'src/native/windows')
-rwxr-xr-x | src/native/windows/WindowsDynamicLinkerImpl_JNI.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/native/windows/WindowsDynamicLinkerImpl_JNI.c b/src/native/windows/WindowsDynamicLinkerImpl_JNI.c index 5d30a30..b4a9787 100755 --- a/src/native/windows/WindowsDynamicLinkerImpl_JNI.c +++ b/src/native/windows/WindowsDynamicLinkerImpl_JNI.c @@ -8,8 +8,8 @@ #include <windows.h> /* This typedef is apparently needed for compilers before VC8, and for the embedded ARM compilers we're using */ - #if (_MSC_VER < 1400) || defined(UNDER_CE) - typedef int intptr_t; + #if !defined(__MINGW64__) && ( (_MSC_VER < 1400) || defined(UNDER_CE) ) + typedef int intptr_t; #endif /* GetProcAddress doesn't exist in A/W variants under desktop Windows */ #ifndef UNDER_CE |