Fix preprocessor instructions for GCC

This commit is contained in:
rnv 2016-11-25 18:58:00 +03:00
parent 21d85e8d2a
commit a977b1282b
3 changed files with 7 additions and 7 deletions

View File

@ -82,16 +82,16 @@ namespace netgen {
extern int OCCGenerateMesh (OCCGeometry&, Mesh*&, int, int, char*);
#endif
//extern void OCCSetLocalMeshSize(OCCGeometry & geom, Mesh & mesh);
#ifdef NETGEN_V5 && WIN32
#if defined(NETGEN_V5) && defined(WIN32)
DLL_HEADER
#endif
extern MeshingParameters mparam;
#ifdef NETGEN_V5 && WIN32
#if defined(NETGEN_V5) && defined(WIN32)
DLL_HEADER
#endif
extern volatile multithreadt multithread;
#ifdef NETGEN_V5 && WIN32
#if defined(NETGEN_V5) && defined(WIN32)
DLL_HEADER
#endif
extern bool merge_solids;

View File

@ -68,7 +68,7 @@ namespace netgen {
#else
extern int OCCGenerateMesh (OCCGeometry&, Mesh*&, int, int, char*);
#endif
#ifdef NETGEN_V5 && WIN32
#if defined(NETGEN_V5) && defined(WIN32)
DLL_HEADER
#endif
extern MeshingParameters mparam;

View File

@ -81,11 +81,11 @@ namespace netgen {
#else
extern int OCCGenerateMesh (OCCGeometry&, Mesh*&, int, int, char*);
#endif
#ifdef NETGEN_V5 && WIN32
#if defined(NETGEN_V5) && defined(WIN32)
DLL_HEADER
#endif
extern MeshingParameters mparam;
#ifdef NETGEN_V5 && WIN32
#if defined(NETGEN_V5) && defined(WIN32)
DLL_HEADER
#endif
extern volatile multithreadt multithread;