M_PI is not ANSI

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guillermo Rodriguez Garcia 2000-02-08 02:09:54 +00:00
parent 91b4c08d6f
commit fa1993cce5

View File

@ -22,7 +22,14 @@
#include "wx/image.h"
/* GRG: This is not ANSI standard, define M_PI explicitly
#include <math.h> // M_PI
*/
#ifndef M_PI
#define M_PI 3.1415926535897932384626433832795
#endif
class MyApp: public wxApp
{