Several tweaks for compiling OpenCascade plugin:
* Remove unneeded XSDRAW.hxx header inclusion. * Define WNT only on windows, because it is used for choosing between win threads or pthreads.
This commit is contained in:
parent
43b051b984
commit
b637d080d5
@ -66,7 +66,6 @@
|
||||
#include <TDF_LabelSequence.hxx>
|
||||
#include <TDF_ChildIterator.hxx>
|
||||
|
||||
#include <XSDRAW.hxx>
|
||||
#include <Quantity_Color.hxx>
|
||||
|
||||
// osg headers
|
||||
|
@ -24,9 +24,11 @@
|
||||
/// \brief header file for creating osgdb plugin for IGES format
|
||||
/// \author Abhishek Bansal, Engineer Graphics, vizExperts India Pvt. Ltd.
|
||||
|
||||
#ifdef WIN32
|
||||
/// \brief preproccessor macro required for compilation with open cascade
|
||||
/// \todo not sure what it does
|
||||
#define WNT
|
||||
#endif
|
||||
|
||||
#include <TDF_LabelSequence.hxx>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user