diff --git a/src/ifcparse/IfcParse.h b/src/ifcparse/IfcParse.h index 137dbe2606..4b7cc5fcde 100644 --- a/src/ifcparse/IfcParse.h +++ b/src/ifcparse/IfcParse.h @@ -27,12 +27,6 @@ #ifndef IFCPARSE_H #define IFCPARSE_H -#if defined(IFCOPENSHELL_BRANCH) && defined(IFCOPENSHELL_COMMIT) -#define IFCOPENSHELL_VERSION STRINGIFY(IFCOPENSHELL_BRANCH) "-" STRINGIFY(IFCOPENSHELL_COMMIT) -#else -#define IFCOPENSHELL_VERSION "0.8.0" -#endif - #include "aggregate_of_instance.h" #include "Argument.h" #include "ifc_parse_api.h" @@ -52,6 +46,12 @@ #include #include +#if defined(IFCOPENSHELL_BRANCH) && defined(IFCOPENSHELL_COMMIT) +#define IFCOPENSHELL_VERSION STRINGIFY(IFCOPENSHELL_BRANCH) "-" STRINGIFY(IFCOPENSHELL_COMMIT) +#else +#define IFCOPENSHELL_VERSION "0.8.0" +#endif + namespace IfcParse { class IfcFile;