Skip to content

Commit

Permalink
+ check if OCCGEOMETRY is already defined
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Mar 28, 2016
1 parent 27f12ae commit 7dbcbc0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Expand Up @@ -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>
Expand Down
Expand Up @@ -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>
Expand Down

0 comments on commit 7dbcbc0

Please sign in to comment.