mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-14 16:01:30 -06:00
Fix #define None include error on X11 systems
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
#include <openspace/util/factorymanager.h>
|
||||
#include <openspace/util/time.h>
|
||||
#include <openspace/util/spicemanager.h>
|
||||
#include <openspace/util/syncbuffer.h>
|
||||
|
||||
#include <ghoul/ghoul.h>
|
||||
#include <ghoul/cmdparser/commandlineparser.h>
|
||||
@@ -70,12 +71,6 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// The syncbuffer includes SGCT which (on Linux) includes Xlib. Xlib #defines 'None',
|
||||
// which confuses the systemcapabilities, so it has to be included last unfortunately
|
||||
// ---abock
|
||||
#include <openspace/util/syncbuffer.h>
|
||||
|
||||
|
||||
using namespace openspace::scripting;
|
||||
using namespace ghoul::filesystem;
|
||||
using namespace ghoul::logging;
|
||||
|
||||
Reference in New Issue
Block a user