correction for Mac OS X (M_PI is already defined)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f9d3748bc0
commit
2461b2e716
@ -38,7 +38,9 @@ IMPLEMENT_ABSTRACT_CLASS(wxDC, wxObject)
|
||||
#define twips2mm 0.0176388888889
|
||||
#define mm2pt 2.83464566929
|
||||
#define pt2mm 0.352777777778
|
||||
#ifndef __UNIX__
|
||||
const double M_PI = 3.14159265358979 ;
|
||||
#endif
|
||||
const double RAD2DEG = 180.0 / M_PI;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -38,7 +38,9 @@ IMPLEMENT_ABSTRACT_CLASS(wxDC, wxObject)
|
||||
#define twips2mm 0.0176388888889
|
||||
#define mm2pt 2.83464566929
|
||||
#define pt2mm 0.352777777778
|
||||
#ifndef __UNIX__
|
||||
const double M_PI = 3.14159265358979 ;
|
||||
#endif
|
||||
const double RAD2DEG = 180.0 / M_PI;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user