Portability fix for windows

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-06-15 20:11:07 +00:00
commit 6e4091ddd8

View file

@ -1,10 +1,7 @@
/* File : example.c */
#include "example.h"
#include <math.h>
#ifndef M_PI
# define M_PI 3.14159265358979323846
#endif
#define M_PI 3.14159265358979323846
/* Move the shape to a new location */
void Shape::move(double dx, double dy) {