]> git.saurik.com Git - wxWidgets.git/commitdiff
fix watcom 64 bug (openwatcom1.1) (second try)
authorChris Elliott <biol75@york.ac.uk>
Tue, 23 Sep 2003 09:36:25 +0000 (09:36 +0000)
committerChris Elliott <biol75@york.ac.uk>
Tue, 23 Sep 2003 09:36:25 +0000 (09:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index 67826af361a1c6966906935651cc8c8f21ee1fa6..19c363d5aaaee899ab7de2360127d1858eb5bc17 100644 (file)
@@ -843,7 +843,7 @@ typedef wxUint32 wxDword;
     #define wxLongLongSuffix l
     #define wxLongLongFmtSpec _T("l")
     #define wxLongLongIsLong
-#elif (defined(__VISUALC__) && defined(__WIN32__)) || defined( __VMS__ ) || defined (__WATCOM__)
+#elif (defined(__VISUALC__) && defined(__WIN32__)) || defined( __VMS__ ) 
     #define wxLongLong_t __int64
     #define wxLongLongSuffix i64
     #define wxLongLongFmtSpec _T("I64")
@@ -851,6 +851,10 @@ typedef wxUint32 wxDword;
     #define wxLongLong_t __int64
     #define wxLongLongSuffix i64
     #define wxLongLongFmtSpec _T("Ld")
+#elif (defined(__WATCOMC__) && defined(__WIN32__))
+      #define wxLongLong_t __int64
+      #define wxLongLongSuffix i64
+      #define wxLongLongFmtSpec _T("Ld")
 #elif (defined(SIZEOF_LONG_LONG) && SIZEOF_LONG_LONG >= 8)  || \
         defined(__MINGW32__) || \
         defined(__GNUC__) || \