X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5b781a6729859abc77e6ca5b1f81cbaad974a78f..04a429cb8a929cd56401e47a9a7d115cc3533353:/include/wx/geometry.h diff --git a/include/wx/geometry.h b/include/wx/geometry.h index 2a8a8fb396..7bc7f527eb 100644 --- a/include/wx/geometry.h +++ b/include/wx/geometry.h @@ -31,7 +31,11 @@ #ifdef __WXMSW__ #define wxMulDivInt32( a , b , c ) ::MulDiv( a , b , c ) #elif defined( __WXMAC__ ) + #ifdef __WXMAC_X__ + #include + #else #include "Math64.h" + #endif #define wxMulDivInt32( a , b , c ) S32Set( S64Div( S64Multiply( S64Set(a) , S64Set(b) ) , S64Set(c) ) ) #else #define wxMulDivInt32( a , b , c ) ((wxInt32)((a)*(((wxDouble)b)/((wxDouble)c))))