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:
Alberto Luaces 2016-12-01 23:39:56 +01:00
parent 43b051b984
commit b637d080d5
2 changed files with 3 additions and 2 deletions

View File

@ -66,7 +66,6 @@
#include <TDF_LabelSequence.hxx>
#include <TDF_ChildIterator.hxx>
#include <XSDRAW.hxx>
#include <Quantity_Color.hxx>
// osg headers

View File

@ -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>
@ -137,4 +139,4 @@ namespace IGES
};
} // namespace
#endif // _READERWRITERIGES_H_
#endif // _READERWRITERIGES_H_