diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/SString.h | 2 | ||||
-rw-r--r-- | include/Scintilla.h | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/SString.h b/include/SString.h index 8ef3ede8e..d33d4c4fa 100644 --- a/include/SString.h +++ b/include/SString.h @@ -10,7 +10,7 @@ // These functions are implemented because each platform calls them something different. int CompareCaseInsensitive(const char *a, const char *b); -int CompareNCaseInsensitive(const char *a, const char *b, int len); +int CompareNCaseInsensitive(const char *a, const char *b, size_t len); bool EqualCaseInsensitive(const char *a, const char *b); // Define another string class. diff --git a/include/Scintilla.h b/include/Scintilla.h index 1d11642e1..4a043b5ff 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -21,8 +21,13 @@ int Scintilla_LinkLexers(); // Here should be placed typedefs for uptr_t, an unsigned integer type large enough to // hold a pointer and sptr_t, a signed integer large enough to hold a pointer. // May need to be changed for 64 bit platforms. +#ifdef __int3264 +typedef ULONG_PTR uptr_t; +typedef LONG_PTR sptr_t; +#else typedef unsigned long uptr_t; typedef long sptr_t; +#endif typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, sptr_t lParam); |