watcom headers don't define M_PI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -47,6 +47,10 @@
|
||||
// constants
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
const double mm2inches = 0.0393700787402;
|
||||
const double inches2mm = 25.4;
|
||||
const double mm2twips = 56.6929133859;
|
||||
|
Reference in New Issue
Block a user