+ check if OCCGEOMETRY is already defined
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user