math.h/PI integration

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-12-13 20:04:51 +00:00
parent 19edb09cd9
commit e0d3147139
10 changed files with 9 additions and 57 deletions

View File

@@ -32,7 +32,6 @@
#include "wx/dcprint.h"
#include <string.h>
#include <math.h>
#include "wx/os2/private.h"
@@ -68,11 +67,6 @@ static const int VIEWPORT_EXTENT = 1000;
static const int MM_POINTS = 9;
static const int MM_METRIC = 10;
// usually this is defined in math.h
#ifndef M_PI
static const double M_PI = 3.14159265358979323846;
#endif // M_PI
// ---------------------------------------------------------------------------
// private functions
// ---------------------------------------------------------------------------