Browse Source

Fix the "None" define with a hammer

The X.h definition of None creeps in older Linux distributions in
multiple places.  Better to just force undefine it because we never need
it
7.0
Seth Hillbrand 3 years ago
parent
commit
283dba00c3
  1. 5
      thirdparty/clipper2/Clipper2Lib/include/clipper2/clipper.h

5
thirdparty/clipper2/Clipper2Lib/include/clipper2/clipper.h

@ -13,6 +13,11 @@
#include <cstdlib>
#include <vector>
// Remove this define (comes in from X.h on older Linuxes)
#ifdef None
#undef None
#endif
#include "clipper.core.h"
#include "clipper.engine.h"
#include "clipper.offset.h"

Loading…
Cancel
Save