diff --git a/code/D3MFImporter.cpp b/code/D3MFImporter.cpp index d8c062de4..399bfdd36 100644 --- a/code/D3MFImporter.cpp +++ b/code/D3MFImporter.cpp @@ -38,6 +38,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------- */ +#ifndef ASSIMP_BUILD_NO_3MF_IMPORTER + #include "D3MFImporter.h" #include @@ -59,8 +61,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include -#ifndef ASSIMP_BUILD_NO_3MF_IMPORTER - #include "D3MFOpcPackage.h" #include #include "irrXMLWrapper.h" diff --git a/code/D3MFOpcPackage.cpp b/code/D3MFOpcPackage.cpp index df83e70f5..f6c1fb605 100644 --- a/code/D3MFOpcPackage.cpp +++ b/code/D3MFOpcPackage.cpp @@ -38,6 +38,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------- */ +#ifndef ASSIMP_BUILD_NO_3MF_IMPORTER #include "D3MFOpcPackage.h" #include "Exceptional.h" @@ -54,8 +55,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include #include -#ifndef ASSIMP_BUILD_NO_3MF_IMPORTER - #include namespace Assimp {