X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0cc66b6c0b7b50bfba244e4f8e48a9b071e75ae2..f1d04a42d5a19b18856a41571488fe7006f3d00a:/include/wx/defs.h diff --git a/include/wx/defs.h b/include/wx/defs.h index f1fe077816..4929dec125 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -457,7 +457,7 @@ typedef int wxWindowID; // sometimes the value of a variable is *really* not used, to suppress the // resulting warning you may pass it to this function -template +template inline void wxUnusedVar(const T& WXUNUSED(t)) { } // ---------------------------------------------------------------------------- @@ -678,6 +678,9 @@ typedef wxUint16 wxWord; typedef int wxInt32; typedef unsigned int wxUint32; + #if defined(__MACH__) && !defined(SIZEOF_WCHAR_T) + #define SIZEOF_WCHAR_T 4 + #endif #if wxUSE_WCHAR_T && !defined(SIZEOF_WCHAR_T) // also assume that sizeof(wchar_t) == 2 (under Unix the most // common case is 4 but there configure would have defined @@ -711,7 +714,7 @@ typedef wxUint32 wxDword; #define wxLongLongSuffix l #define wxLongLongFmtSpec _T("l") #define wxLongLongIsLong -#elif (defined(__VISUALC__) && defined(__WIN32__)) || defined( __VMS__ ) +#elif (defined(__VISUALC__) && defined(__WIN32__)) #define wxLongLong_t __int64 #define wxLongLongSuffix i64 #define wxLongLongFmtSpec _T("I64")