From 112c4b6bb39e1069ae2ec7bb2f55a49939005957 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 9 Jun 2002 02:58:47 +0000 Subject: Compatibility with 64 bit systems. --- include/Platform.h | 2 ++ include/Scintilla.h | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/Platform.h b/include/Platform.h index 2d1e6e179..ffb4a3cc3 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -424,6 +424,8 @@ public: static bool IsKeyDown(int key); static long SendScintilla( WindowID w, unsigned int msg, unsigned long wParam=0, long lParam=0); + static long SendScintillaPointer( + WindowID w, unsigned int msg, unsigned long wParam=0, void *lParam=0); static bool IsDBCSLeadByte(int codePage, char ch); // These are utility functions not really tied to a platform diff --git a/include/Scintilla.h b/include/Scintilla.h index 4a043b5ff..a15d3da92 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -21,7 +21,10 @@ 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 +#if _MSC_VER >= 1300 +#include +#endif +#ifdef MAXULONG_PTR typedef ULONG_PTR uptr_t; typedef LONG_PTR sptr_t; #else -- cgit v1.2.3