aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2002-06-09 02:58:47 +0000
committernyamatongwe <unknown>2002-06-09 02:58:47 +0000
commit28e0c4bd3005f79d2cd6b260831d655c26f7a478 (patch)
tree7b0416e002a76253ad5b11abe3194edc06bd4061 /include/Scintilla.h
parent1511b05408236df30b05670faffdef2730e3caa1 (diff)
downloadscintilla-mirror-28e0c4bd3005f79d2cd6b260831d655c26f7a478.tar.gz
Compatibility with 64 bit systems.
Diffstat (limited to 'include/Scintilla.h')
-rw-r--r--include/Scintilla.h5
1 files changed, 4 insertions, 1 deletions
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 <BaseTsd.h>
+#endif
+#ifdef MAXULONG_PTR
typedef ULONG_PTR uptr_t;
typedef LONG_PTR sptr_t;
#else