From 068c78ab36a724f07a265fe8ed9b0324dd6ff0d8 Mon Sep 17 00:00:00 2001 From: Lucas Heitzmann Gabrielli Date: Sun, 19 Mar 2017 12:19:13 -0300 Subject: [PATCH] Remove DEBUG flag, add _USE_MATH_DEFINES --- gdspy/clipper.cpp | 6 +++--- gdspy/clipper.hpp | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gdspy/clipper.cpp b/gdspy/clipper.cpp index 768d7d0..733d598 100644 --- a/gdspy/clipper.cpp +++ b/gdspy/clipper.cpp @@ -38,13 +38,13 @@ * * *******************************************************************************/ -// Begin of GDSPY additional headers +// Begin of GDSPY additions +#define _USE_MATH_DEFINES #include -#define DEBUG 1 #ifdef DEBUG #include #endif //DEBUG -// End of GDSPY additional headers +// End of GDSPY additions #include "clipper.hpp" #include diff --git a/gdspy/clipper.hpp b/gdspy/clipper.hpp index df1f813..55d59c8 100644 --- a/gdspy/clipper.hpp +++ b/gdspy/clipper.hpp @@ -49,6 +49,10 @@ //use_deprecated: Enables temporary support for the obsolete functions //#define use_deprecated +// Begin of GDSPY additions +#define _USE_MATH_DEFINES +// End of GDSPY additions + #include #include #include