]> git.saurik.com Git - wxWidgets.git/commitdiff
define [us]ptr_t properly for mingw64 compilation
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 17 Jan 2009 11:52:59 +0000 (11:52 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 17 Jan 2009 11:52:59 +0000 (11:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/stc/scintilla/include/Scintilla.h

index 6fde15267d82412423d02a20f5f6affe9ecb5737..1c4beca699f04dbb82304543e9ed5c4af492e366 100644 (file)
@@ -28,7 +28,11 @@ int Scintilla_LinkLexers();
 #if defined(_MSC_VER) && _MSC_VER >= 1300
 #include <BaseTsd.h>
 #endif
-#ifdef MAXULONG_PTR
+#if defined(__MINGW64__)
+#include <stdint.h>
+typedef uint64_t uptr_t;
+typedef int64_t sptr_t;
+#elif defined(MAXULONG_PTR)
 typedef ULONG_PTR uptr_t;
 typedef LONG_PTR sptr_t;
 #else