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