From 7d85efbf3c8cd0524bf92cec74f73b4484411da7 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Fri, 19 Feb 2021 20:59:51 +0000 Subject: [PATCH] Lua example fix for newer osx --- Examples/lua/owner/example.cxx | 2 ++ 1 file changed, 2 insertions(+) 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 +#ifndef M_PI #define M_PI 3.14159265358979323846 +#endif /* Move the shape to a new location */ void Shape::move(double dx, double dy) {