]> git.saurik.com Git - wxWidgets.git/commitdiff
watcom headers don't define M_PI
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 4 Dec 2001 23:43:49 +0000 (23:43 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 4 Dec 2001 23:43:49 +0000 (23:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mgl/dc.cpp

index 2c48b7f25601656e0d30e89ab84cff39b33e68c3..d462c90486d5bcef085dcc43d26e471de786e4c3 100644 (file)
 // 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;