Moved the hack for the Carbon header compile error to helpers.h so

other modules will see it if needed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-09-23 16:28:19 +00:00
parent cad8feccb8
commit 2034324361
2 changed files with 4 additions and 4 deletions

View File

@@ -16,10 +16,6 @@
%{ %{
#include "wxPython.h" #include "wxPython.h"
#ifdef __WXMAC__ // avoid a bug in Carbon headers
#define scalb scalbn
#endif
#ifdef __WXMSW__ #ifdef __WXMSW__
#include "myglcanvas.h" #include "myglcanvas.h"
#else #else

View File

@@ -16,6 +16,10 @@
#include <wx/wx.h> #include <wx/wx.h>
#include <wx/geometry.h> #include <wx/geometry.h>
//---------------------------------------------------------------------------
#ifdef __WXMAC__ // avoid a bug in Carbon headers
#define scalb scalbn
#endif
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
typedef unsigned char byte; typedef unsigned char byte;