Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
Remove DEBUG flag, add _USE_MATH_DEFINES
Browse files Browse the repository at this point in the history
  • Loading branch information
heitzmann committed Mar 19, 2017
1 parent 5b183d9 commit 068c78a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gdspy/clipper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@
* *
*******************************************************************************/

// Begin of GDSPY additional headers
// Begin of GDSPY additions
#define _USE_MATH_DEFINES
#include <Python.h>
#define DEBUG 1
#ifdef DEBUG
#include <iostream>
#endif //DEBUG
// End of GDSPY additional headers
// End of GDSPY additions

#include "clipper.hpp"
#include <cmath>
Expand Down
4 changes: 4 additions & 0 deletions gdspy/clipper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <vector>
#include <list>
#include <set>
Expand Down

0 comments on commit 068c78a

Please sign in to comment.