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:
parent
91b4c08d6f
commit
fa1993cce5
@ -22,7 +22,14 @@
|
|||||||
|
|
||||||
#include "wx/image.h"
|
#include "wx/image.h"
|
||||||
|
|
||||||
|
/* GRG: This is not ANSI standard, define M_PI explicitly
|
||||||
#include <math.h> // M_PI
|
#include <math.h> // M_PI
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef M_PI
|
||||||
|
#define M_PI 3.1415926535897932384626433832795
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
class MyApp: public wxApp
|
class MyApp: public wxApp
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user