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
This commit is contained in:
Seth Hillbrand 2022-10-20 08:24:09 -07:00
parent 0a2fa51d91
commit 283dba00c3
1 changed files with 5 additions and 0 deletions

View File

@ -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"