aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-04-21 10:20:59 +0000
committernyamatongwe <devnull@localhost>2002-04-21 10:20:59 +0000
commit044ad96868d92ceaf1748832e272577a289221ee (patch)
tree39857adc7906b22cb6629149b0ee36eb91f13e04 /include/Scintilla.h
parent2fd5e782637b56483945a9d60af6c1a96a2b43ae (diff)
downloadscintilla-mirror-044ad96868d92ceaf1748832e272577a289221ee.tar.gz
Some Win64 compatibility and size_t correctness.
Diffstat (limited to 'include/Scintilla.h')
-rw-r--r--include/Scintilla.h5
1 files changed, 5 insertions, 0 deletions
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);