diff src/lisp.h @ 4682:648f4a0dac3e

Fix build problems on WIN32 platforms caused by the large image crash fix. See the thread on xemacs-patches@xemacs.org beginning with message <20a807210907081256y6c02f4bbv72d34c9f3c72ab02@mail.gmail.com>.
author Jerry James <james@xemacs.org>
date Mon, 24 Aug 2009 15:21:21 -0600
parents b5e1d4f6b66f
children 257b468bf2ca
line wrap: on
line diff
--- a/src/lisp.h	Wed Aug 19 23:06:32 2009 +1000
+++ b/src/lisp.h	Mon Aug 24 15:21:21 2009 -0600
@@ -210,6 +210,10 @@
 #define INT_64_BIT long long
 #define UINT_64_BIT unsigned long long
 #define MAKE_64_BIT_UNSIGNED_CONSTANT(num) num##ULL
+#elif defined(WIN32_ANY)
+#define INT_64_BIT __int64
+#define UINT_64_BIT unsigned __int64
+#define MAKE_64_BIT_UNSIGNED_CONSTANT(num) num##UI64
 /* No error otherwise; just leave undefined */
 #endif