Skip to content

Commit

Permalink
Windows header fix, as Windows defines 'SearchPath' and the Cortex he…
Browse files Browse the repository at this point in the history
…ader makes sure to undef it but it needs to be the last header defined.
  • Loading branch information
boberfly committed Feb 5, 2020
1 parent 4a857e4 commit 85e4d1c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/GafferCyclesModule/GafferCyclesModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,16 @@
#include "GafferCycles/InteractiveCyclesRender.h"

#include "IECore/MessageHandler.h"
#include "IECore/SearchPath.h"

// Cycles
#include "device/device.h"
#include "graph/node.h"
#include "util/util_logging.h"
#include "util/util_path.h"

// Header needs to be here on Windows
#include "IECore/SearchPath.h"

namespace py = boost::python;
using namespace GafferBindings;
using namespace GafferDispatchBindings;
Expand Down

0 comments on commit 85e4d1c

Please sign in to comment.