diff options
-rw-r--r-- | Examples/lua/owner/example.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Examples/lua/owner/example.cxx b/Examples/lua/owner/example.cxx index c2c073d79..a4dcc68a1 100644 --- a/Examples/lua/owner/example.cxx +++ b/Examples/lua/owner/example.cxx @@ -3,7 +3,9 @@ #include "example.h" #include <stdio.h> +#ifndef M_PI #define M_PI 3.14159265358979323846 +#endif /* Move the shape to a new location */ void Shape::move(double dx, double dy) { |