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:
parent
0a2fa51d91
commit
283dba00c3
|
@ -13,6 +13,11 @@
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
// Remove this define (comes in from X.h on older Linuxes)
|
||||||
|
#ifdef None
|
||||||
|
#undef None
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "clipper.core.h"
|
#include "clipper.core.h"
|
||||||
#include "clipper.engine.h"
|
#include "clipper.engine.h"
|
||||||
#include "clipper.offset.h"
|
#include "clipper.offset.h"
|
||||||
|
|
Loading…
Reference in New Issue