]> git.saurik.com Git - wxWidgets.git/commitdiff
Work around a bug in the Carbon headers
authorRobin Dunn <robin@alldunn.com>
Mon, 1 Sep 2003 19:41:12 +0000 (19:41 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 1 Sep 2003 19:41:12 +0000 (19:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/contrib/glcanvas/mac/glcanvas.cpp

index 2c6151345e12bbaa9866e15ef471100c0061f75b..3294ba889136b33472b4292e6f321d493aedfba4 100644 (file)
@@ -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