From adfef670cc0352df4b9f241b2bfae30955ba5c8f Mon Sep 17 00:00:00 2001 From: aramis_acg Date: Sun, 22 Apr 2012 23:14:39 +0000 Subject: [PATCH] - rename assert.h to ai_assert.h. See also https://sourceforge.net/tracker/?func=detail&atid=1067632&aid=3520178&group_id=226462 git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1240 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- code/ByteSwap.h | 2 +- code/CMakeLists.txt | 2 +- code/ColladaExporter.h | 2 +- code/RemoveComments.h | 2 +- code/SceneCombiner.h | 2 +- code/StringComparison.h | 2 ++ code/VertexTriangleAdjacency.h | 2 +- include/assimp/{assert.h => ai_assert.h} | 0 tools/assimp_view/assimp_view.h | 2 +- workspaces/vc9/assimp.vcproj | 4 ++-- 10 files changed, 11 insertions(+), 9 deletions(-) rename include/assimp/{assert.h => ai_assert.h} (100%) diff --git a/code/ByteSwap.h b/code/ByteSwap.h index a90c1a84c..4be039599 100644 --- a/code/ByteSwap.h +++ b/code/ByteSwap.h @@ -43,7 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef AI_BYTESWAP_H_INC #define AI_BYTESWAP_H_INC -#include "../include/assimp/assert.h" +#include "../include/assimp/ai_assert.h" #include "../include/assimp/types.h" #if _MSC_VER >= 1400 diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index 8db1ab8a6..c74c747b8 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -19,7 +19,7 @@ SOURCE_GROUP( Compiler FILES ${COMPILER_HEADERS}) SET( PUBLIC_HEADERS ${HEADER_PATH}/anim.h - ${HEADER_PATH}/assert.h + ${HEADER_PATH}/ai_assert.h ${HEADER_PATH}/camera.h ${HEADER_PATH}/color4.h ${HEADER_PATH}/color4.inl diff --git a/code/ColladaExporter.h b/code/ColladaExporter.h index 198e42591..014e98db4 100644 --- a/code/ColladaExporter.h +++ b/code/ColladaExporter.h @@ -44,7 +44,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef AI_COLLADAEXPORTER_H_INC #define AI_COLLADAEXPORTER_H_INC -#include "../include/assimp/assert.h" +#include "../include/assimp/ai_assert.h" #include struct aiScene; diff --git a/code/RemoveComments.h b/code/RemoveComments.h index 4b5e28cee..8b8185fcb 100644 --- a/code/RemoveComments.h +++ b/code/RemoveComments.h @@ -44,7 +44,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef AI_REMOVE_COMMENTS_H_INC #define AI_REMOVE_COMMENTS_H_INC -#include "../include/assimp/assert.h" +#include "../include/assimp/ai_assert.h" namespace Assimp { diff --git a/code/SceneCombiner.h b/code/SceneCombiner.h index a4be54c6b..bda8f907d 100644 --- a/code/SceneCombiner.h +++ b/code/SceneCombiner.h @@ -44,7 +44,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef AI_SCENE_COMBINER_H_INC #define AI_SCENE_COMBINER_H_INC -#include "../include/assimp/assert.h" +#include "../include/assimp/ai_assert.h" namespace Assimp { diff --git a/code/StringComparison.h b/code/StringComparison.h index 132962abf..ca6f3e87f 100644 --- a/code/StringComparison.h +++ b/code/StringComparison.h @@ -50,6 +50,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef INCLUDED_AI_STRING_WORKERS_H #define INCLUDED_AI_STRING_WORKERS_H +#include "../include/assimp/ai_assert.h" + namespace Assimp { // ------------------------------------------------------------------------------- diff --git a/code/VertexTriangleAdjacency.h b/code/VertexTriangleAdjacency.h index 462d5796e..aa9517a9b 100644 --- a/code/VertexTriangleAdjacency.h +++ b/code/VertexTriangleAdjacency.h @@ -44,7 +44,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "BaseProcess.h" #include "../include/assimp/types.h" -#include "../include/assimp/assert.h" +#include "../include/assimp/ai_assert.h" struct aiMesh; namespace Assimp { diff --git a/include/assimp/assert.h b/include/assimp/ai_assert.h similarity index 100% rename from include/assimp/assert.h rename to include/assimp/ai_assert.h diff --git a/tools/assimp_view/assimp_view.h b/tools/assimp_view/assimp_view.h index f8bdf54e4..dcd65de15 100644 --- a/tools/assimp_view/assimp_view.h +++ b/tools/assimp_view/assimp_view.h @@ -50,7 +50,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // Include ASSIMP headers (XXX: do we really need all of them?) #include #include -#include +#include #include #include #include diff --git a/workspaces/vc9/assimp.vcproj b/workspaces/vc9/assimp.vcproj index 8c8e7148f..5a1b92338 100644 --- a/workspaces/vc9/assimp.vcproj +++ b/workspaces/vc9/assimp.vcproj @@ -1173,11 +1173,11 @@ Name="Common" >