Reverse preprocessor statement to work without definition, defaulting to 2x3

This commit is contained in:
Thomas Krijnen
2015-07-26 15:26:34 +00:00
parent 68fc361d96
commit 0e5edbcd84
+1 -1
View File
@@ -178,7 +178,7 @@ void SvgSerializer::write(const IfcGeom::BRepElement<double>* o) {
IfcSchema::IfcBuildingStorey* storey = 0;
IfcSchema::IfcObjectDefinition* obdef = static_cast<IfcSchema::IfcObjectDefinition*>(file->entityById(o->id()));
#ifdef USE_IFC2x3
#ifndef USE_IFC4
typedef IfcSchema::IfcRelDecomposes decomposition_element;
#else
typedef IfcSchema::IfcRelAggregates decomposition_element;