X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a12f92d0d10a463f202c545a785a84b88b0c4a9..71aba8333cc915afff9e740c944f7fa7247abacb:/wxPython/contrib/glcanvas/msw/glcanvas.cpp?ds=sidebyside diff --git a/wxPython/contrib/glcanvas/msw/glcanvas.cpp b/wxPython/contrib/glcanvas/msw/glcanvas.cpp index 6ce847b3f5..47b3d9c3b0 100644 --- a/wxPython/contrib/glcanvas/msw/glcanvas.cpp +++ b/wxPython/contrib/glcanvas/msw/glcanvas.cpp @@ -55,6 +55,11 @@ extern PyObject *SWIG_newvarlink(void); #define SWIG_name "glcanvasc" #include "wxPython.h" + +#ifdef __WXMAC__ // avoid a bug in Carbon headers +#define scalb scalbn +#endif + #ifdef __WXMSW__ #include "myglcanvas.h" #else