From 0e5edbcd8461c0b19bd96151b54829d2ce0ee605 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sun, 26 Jul 2015 15:26:34 +0000 Subject: [PATCH] Reverse preprocessor statement to work without definition, defaulting to 2x3 --- src/ifcconvert/SvgSerializer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcconvert/SvgSerializer.cpp b/src/ifcconvert/SvgSerializer.cpp index e2e073788c..104e6e3e46 100644 --- a/src/ifcconvert/SvgSerializer.cpp +++ b/src/ifcconvert/SvgSerializer.cpp @@ -178,7 +178,7 @@ void SvgSerializer::write(const IfcGeom::BRepElement* o) { IfcSchema::IfcBuildingStorey* storey = 0; IfcSchema::IfcObjectDefinition* obdef = static_cast(file->entityById(o->id())); -#ifdef USE_IFC2x3 +#ifndef USE_IFC4 typedef IfcSchema::IfcRelDecomposes decomposition_element; #else typedef IfcSchema::IfcRelAggregates decomposition_element;