diff options
author | nyamatongwe <unknown> | 2002-04-21 10:20:59 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2002-04-21 10:20:59 +0000 |
commit | 5ce0189a77f46696eaa1f3cc5dd0aff2bb5cabd4 (patch) | |
tree | 39857adc7906b22cb6629149b0ee36eb91f13e04 /include/Scintilla.h | |
parent | 58510c0fbafdcf5ceed956a208fc34a65cb55358 (diff) | |
download | scintilla-mirror-5ce0189a77f46696eaa1f3cc5dd0aff2bb5cabd4.tar.gz |
Some Win64 compatibility and size_t correctness.
Diffstat (limited to 'include/Scintilla.h')
-rw-r--r-- | include/Scintilla.h | 5 |
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); |