+ check if OCCGEOMETRY is already defined

This commit is contained in:
wmayer 2016-03-28 11:05:51 +02:00
parent 27f12ae3de
commit 7dbcbc0f76
2 changed files with 7 additions and 3 deletions

View File

@ -61,7 +61,10 @@
namespace nglib {
#include <nglib.h>
}
#define OCCGEOMETRY
#ifndef OCCGEOMETRY
# define OCCGEOMETRY
#endif
#include <occgeom.hpp>
#include <meshing.hpp>
//#include <ngexception.hpp>

View File

@ -58,8 +58,9 @@ namespace nglib {
#include <nglib.h>
}
#ifndef OCCGEOMETRY
#define OCCGEOMETRY
#endif // #ifndef OCCGEOMETRY
# define OCCGEOMETRY
#endif
#include <occgeom.hpp>
#include <meshing.hpp>
//#include <meshtype.hpp>