From: Chris Elliott Date: Tue, 23 Sep 2003 09:36:25 +0000 (+0000) Subject: fix watcom 64 bug (openwatcom1.1) (second try) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e84c7178fe172e4c008b1d7633c6eb1bb2256675?ds=inline fix watcom 64 bug (openwatcom1.1) (second try) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/defs.h b/include/wx/defs.h index 67826af361..19c363d5aa 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -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__) || \