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:
@@ -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
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user