github.com/assimp/assimp/issues/730: use correct define check

pull/729/merge
Kim Kulling 2015-12-26 21:02:32 +01:00
parent 59c856fcf3
commit 9af4747fa8
2 changed files with 14 additions and 10 deletions

View File

@ -42,12 +42,15 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
namespace Assimp { namespace Assimp {
namespace OpenGEX { namespace OpenGEX {
#ifndef ASSIMP_BUILD_NO_OPENGEX_EXPORTER
OpenGEXExporter::OpenGEXExporter() { OpenGEXExporter::OpenGEXExporter() {
} }
OpenGEXExporter::~OpenGEXExporter() { OpenGEXExporter::~OpenGEXExporter() {
} }
#endif // ASSIMP_BUILD_NO_OPENGEX_EXPORTER
} // Namespace openGEX } // Namespace OpenGEX
} // Namespace Assimp } // Namespace Assimp

View File

@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "../include/assimp/types.h" #include "../include/assimp/types.h"
#ifndef ASSIMP_BUILD_NO_OPENGEX_IMPORTER #ifndef ASSIMP_BUILD_NO_OPENGEX_EXPORTER
namespace Assimp { namespace Assimp {
@ -50,16 +50,17 @@ struct aiScene;
namespace OpenGEX { namespace OpenGEX {
class OpenGEXExporter { class OpenGEXExporter {
public: public:
OpenGEXExporter(); OpenGEXExporter();
~OpenGEXExporter(); ~OpenGEXExporter();
bool exportScene( const char *filename, const aiScene* pScene ); bool exportScene( const char *filename, const aiScene* pScene );
}; };
} // Namespace openGEX
} // Namespace OpenGEX
} // Namespace Assimp } // Namespace Assimp
#endif // ASSIMP_BUILD_NO_OPENGEX_IMPORTER #endif // ASSIMP_BUILD_NO_OPENGEX_EXPORTER
#endif // AI_OPENGEX_EXPORTER_H #endif // AI_OPENGEX_EXPORTER_H