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:
parent
4267e2d4d5
commit
6e4091ddd8
1 changed files with 1 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue