diff --git a/code/OpenGEXExporter.cpp b/code/OpenGEXExporter.cpp index 67c898028..b3b7cec97 100644 --- a/code/OpenGEXExporter.cpp +++ b/code/OpenGEXExporter.cpp @@ -42,12 +42,15 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. namespace Assimp { namespace OpenGEX { +#ifndef ASSIMP_BUILD_NO_OPENGEX_EXPORTER + OpenGEXExporter::OpenGEXExporter() { } OpenGEXExporter::~OpenGEXExporter() { } +#endif // ASSIMP_BUILD_NO_OPENGEX_EXPORTER -} // Namespace openGEX +} // Namespace OpenGEX } // Namespace Assimp diff --git a/code/OpenGEXExporter.h b/code/OpenGEXExporter.h index f2f5eb54b..787f4b335 100644 --- a/code/OpenGEXExporter.h +++ b/code/OpenGEXExporter.h @@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "../include/assimp/types.h" -#ifndef ASSIMP_BUILD_NO_OPENGEX_IMPORTER +#ifndef ASSIMP_BUILD_NO_OPENGEX_EXPORTER namespace Assimp { @@ -50,16 +50,17 @@ struct aiScene; namespace OpenGEX { - class OpenGEXExporter { - public: - OpenGEXExporter(); - ~OpenGEXExporter(); - bool exportScene( const char *filename, const aiScene* pScene ); - }; -} // Namespace openGEX +class OpenGEXExporter { +public: + OpenGEXExporter(); + ~OpenGEXExporter(); + bool exportScene( const char *filename, const aiScene* pScene ); +}; + +} // Namespace OpenGEX } // Namespace Assimp -#endif // ASSIMP_BUILD_NO_OPENGEX_IMPORTER +#endif // ASSIMP_BUILD_NO_OPENGEX_EXPORTER #endif // AI_OPENGEX_EXPORTER_H