X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac4de069215bacaca1caec9c1d2bae476616e89b..c43430bbacbf26414693fcf47fe54a8090c6bfcb:/src/mgl/dc.cpp?ds=sidebyside diff --git a/src/mgl/dc.cpp b/src/mgl/dc.cpp index 2c48b7f256..d462c90486 100644 --- a/src/mgl/dc.cpp +++ b/src/mgl/dc.cpp @@ -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;