From 0fbadc8eb7c93e10902cc4357a42dcd73c0a076b Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Mon, 25 Nov 2002 09:53:07 +0000 Subject: Yes I did it again ;) added the following 3 lines to everything in the intern dir: #ifdef HAVE_CONFIG_H #include #endif Kent -- mein@cs.umn.edu --- intern/decimation/extern/LOD_decimation.h | 3 +++ intern/decimation/intern/LOD_DecimationClass.h | 5 +++++ intern/decimation/intern/LOD_EdgeCollapser.cpp | 4 ++++ intern/decimation/intern/LOD_EdgeCollapser.h | 5 +++++ intern/decimation/intern/LOD_ExternBufferEditor.h | 5 +++++ intern/decimation/intern/LOD_ExternNormalEditor.cpp | 5 ++++- intern/decimation/intern/LOD_ExternNormalEditor.h | 5 +++++ intern/decimation/intern/LOD_FaceNormalEditor.cpp | 3 +++ intern/decimation/intern/LOD_FaceNormalEditor.h | 5 +++++ intern/decimation/intern/LOD_ManMesh2.cpp | 4 ++++ intern/decimation/intern/LOD_ManMesh2.h | 5 +++++ intern/decimation/intern/LOD_MeshBounds.h | 4 ++++ intern/decimation/intern/LOD_MeshException.h | 4 +++- intern/decimation/intern/LOD_MeshPrimitives.cpp | 4 ++++ intern/decimation/intern/LOD_MeshPrimitives.h | 5 ++++- intern/decimation/intern/LOD_QSDecimator.cpp | 4 ++++ intern/decimation/intern/LOD_QSDecimator.h | 5 ++++- intern/decimation/intern/LOD_Quadric.h | 5 ++++- intern/decimation/intern/LOD_QuadricEditor.cpp | 5 ++++- intern/decimation/intern/LOD_QuadricEditor.h | 5 ++++- intern/decimation/intern/LOD_decimation.cpp | 4 +++- 21 files changed, 86 insertions(+), 8 deletions(-) (limited to 'intern/decimation') diff --git a/intern/decimation/extern/LOD_decimation.h b/intern/decimation/extern/LOD_decimation.h index 4b1936b72fb..12e29a4a409 100644 --- a/intern/decimation/extern/LOD_decimation.h +++ b/intern/decimation/extern/LOD_decimation.h @@ -40,6 +40,9 @@ #ifndef NAN_INCLUDED_LOD_decimation_h #define NAN_INCLUDED_LOD_decimation_h +#ifdef HAVE_CONFIG_H +#include +#endif #ifdef __cplusplus extern "C" { diff --git a/intern/decimation/intern/LOD_DecimationClass.h b/intern/decimation/intern/LOD_DecimationClass.h index 302c023392f..e29b3eb0119 100644 --- a/intern/decimation/intern/LOD_DecimationClass.h +++ b/intern/decimation/intern/LOD_DecimationClass.h @@ -33,6 +33,11 @@ #define NAN_INCLUDED_LOD_DecimationClass_h +#ifdef HAVE_CONFIG_H +#include +#endif + + #include "MEM_SmartPtr.h" #include "MEM_NonCopyable.h" diff --git a/intern/decimation/intern/LOD_EdgeCollapser.cpp b/intern/decimation/intern/LOD_EdgeCollapser.cpp index 4168a2ae371..07bcbf2b9d2 100644 --- a/intern/decimation/intern/LOD_EdgeCollapser.cpp +++ b/intern/decimation/intern/LOD_EdgeCollapser.cpp @@ -29,6 +29,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "LOD_EdgeCollapser.h" #include "LOD_ManMesh2.h" diff --git a/intern/decimation/intern/LOD_EdgeCollapser.h b/intern/decimation/intern/LOD_EdgeCollapser.h index c19786c8b85..d889ae25921 100644 --- a/intern/decimation/intern/LOD_EdgeCollapser.h +++ b/intern/decimation/intern/LOD_EdgeCollapser.h @@ -33,6 +33,11 @@ #define NAN_INCLDUED_EgdeCollapser_h +#ifdef HAVE_CONFIG_H +#include +#endif + + // This is a helper class that collapses edges of a 2 - manifold mesh. #include "LOD_MeshPrimitives.h" diff --git a/intern/decimation/intern/LOD_ExternBufferEditor.h b/intern/decimation/intern/LOD_ExternBufferEditor.h index 9f628c4455b..9496151dda5 100644 --- a/intern/decimation/intern/LOD_ExternBufferEditor.h +++ b/intern/decimation/intern/LOD_ExternBufferEditor.h @@ -38,6 +38,11 @@ #ifndef NAN_INCLUDED_LOD_ExternBufferEditor_h #define NAN_INCLUDED_LOD_ExternBufferEditor_h +#ifdef HAVE_CONFIG_H +#include +#endif + + #include "LOD_MeshPrimitives.h" #include #include "LOD_ManMesh2.h" diff --git a/intern/decimation/intern/LOD_ExternNormalEditor.cpp b/intern/decimation/intern/LOD_ExternNormalEditor.cpp index 357aaf56006..11818fc9f7c 100644 --- a/intern/decimation/intern/LOD_ExternNormalEditor.cpp +++ b/intern/decimation/intern/LOD_ExternNormalEditor.cpp @@ -30,9 +30,12 @@ */ #include "LOD_ExternNormalEditor.h" - #include +#ifdef HAVE_CONFIG_H +#include +#endif + using namespace std; diff --git a/intern/decimation/intern/LOD_ExternNormalEditor.h b/intern/decimation/intern/LOD_ExternNormalEditor.h index ba205f79790..bff3c9f388b 100644 --- a/intern/decimation/intern/LOD_ExternNormalEditor.h +++ b/intern/decimation/intern/LOD_ExternNormalEditor.h @@ -33,6 +33,11 @@ #define NAN_INCLUDED_ExternNormalEditor_h +#ifdef HAVE_CONFIG_H +#include +#endif + + #include "MEM_NonCopyable.h" #include "LOD_ManMesh2.h" #include "MT_Vector3.h" diff --git a/intern/decimation/intern/LOD_FaceNormalEditor.cpp b/intern/decimation/intern/LOD_FaceNormalEditor.cpp index ef6bc0d252e..bb384dca04c 100644 --- a/intern/decimation/intern/LOD_FaceNormalEditor.cpp +++ b/intern/decimation/intern/LOD_FaceNormalEditor.cpp @@ -32,6 +32,9 @@ // implementation of LOD_FaceNormalEditor.h /////////////////////////////////////// +#ifdef HAVE_CONFIG_H +#include +#endif #include "LOD_FaceNormalEditor.h" diff --git a/intern/decimation/intern/LOD_FaceNormalEditor.h b/intern/decimation/intern/LOD_FaceNormalEditor.h index c3a1f9890c0..3fab4888865 100644 --- a/intern/decimation/intern/LOD_FaceNormalEditor.h +++ b/intern/decimation/intern/LOD_FaceNormalEditor.h @@ -33,6 +33,11 @@ #define NAN_INCLUDED_FaceNormalEditor_h +#ifdef HAVE_CONFIG_H +#include +#endif + + #include "MEM_NonCopyable.h" #include "LOD_ManMesh2.h" #include "MT_Vector3.h" diff --git a/intern/decimation/intern/LOD_ManMesh2.cpp b/intern/decimation/intern/LOD_ManMesh2.cpp index f0bf40f577c..322a48e337b 100644 --- a/intern/decimation/intern/LOD_ManMesh2.cpp +++ b/intern/decimation/intern/LOD_ManMesh2.cpp @@ -29,6 +29,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "LOD_ManMesh2.h" #include "MT_assert.h" diff --git a/intern/decimation/intern/LOD_ManMesh2.h b/intern/decimation/intern/LOD_ManMesh2.h index 6b52e574f4d..bcd137f261f 100644 --- a/intern/decimation/intern/LOD_ManMesh2.h +++ b/intern/decimation/intern/LOD_ManMesh2.h @@ -33,6 +33,11 @@ #define NAN_INCLUDED_ManMesh2_h +#ifdef HAVE_CONFIG_H +#include +#endif + + #include "LOD_MeshPrimitives.h" #include "MEM_SmartPtr.h" #include diff --git a/intern/decimation/intern/LOD_MeshBounds.h b/intern/decimation/intern/LOD_MeshBounds.h index f9e1e08d9d3..74fcbc41480 100644 --- a/intern/decimation/intern/LOD_MeshBounds.h +++ b/intern/decimation/intern/LOD_MeshBounds.h @@ -33,6 +33,10 @@ #define NAN_INCLUDED_MeshBounds_h +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MEM_SmartPtr.h" #include "LOD_MeshPrimitives.h" diff --git a/intern/decimation/intern/LOD_MeshException.h b/intern/decimation/intern/LOD_MeshException.h index 0f8d1de546a..252c86c5fb1 100644 --- a/intern/decimation/intern/LOD_MeshException.h +++ b/intern/decimation/intern/LOD_MeshException.h @@ -30,9 +30,11 @@ */ #ifndef NAN_INCLUDED_MeshExceptions_h - #define NAN_INCLUDED_MeshExceptions_h +#ifdef HAVE_CONFIG_H +#include +#endif class LOD_MeshException { diff --git a/intern/decimation/intern/LOD_MeshPrimitives.cpp b/intern/decimation/intern/LOD_MeshPrimitives.cpp index 147e107cb4b..16b80cdeea8 100644 --- a/intern/decimation/intern/LOD_MeshPrimitives.cpp +++ b/intern/decimation/intern/LOD_MeshPrimitives.cpp @@ -29,6 +29,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "LOD_MeshPrimitives.h" #include "MT_assert.h" diff --git a/intern/decimation/intern/LOD_MeshPrimitives.h b/intern/decimation/intern/LOD_MeshPrimitives.h index 12214c7528d..0ffb34e1cc3 100644 --- a/intern/decimation/intern/LOD_MeshPrimitives.h +++ b/intern/decimation/intern/LOD_MeshPrimitives.h @@ -30,9 +30,12 @@ */ #ifndef NAN_INCLUDED_MeshPrimitives_h - #define NAN_INCLUDED_MeshPrimitives_h +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MT_Vector3.h" #include "CTR_TaggedIndex.h" #include "CTR_UHeap.h" diff --git a/intern/decimation/intern/LOD_QSDecimator.cpp b/intern/decimation/intern/LOD_QSDecimator.cpp index bf08de8e9de..231f076a78c 100644 --- a/intern/decimation/intern/LOD_QSDecimator.cpp +++ b/intern/decimation/intern/LOD_QSDecimator.cpp @@ -29,6 +29,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "LOD_QSDecimator.h" #include "LOD_ExternBufferEditor.h" diff --git a/intern/decimation/intern/LOD_QSDecimator.h b/intern/decimation/intern/LOD_QSDecimator.h index 12846c04aae..f1364668e41 100644 --- a/intern/decimation/intern/LOD_QSDecimator.h +++ b/intern/decimation/intern/LOD_QSDecimator.h @@ -30,9 +30,12 @@ */ #ifndef NAN_INCLUDED_LOD_QSDecimator_H - #define NAN_INCLUDED_LOD_QSDecimator_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MEM_NonCopyable.h" #include "LOD_ManMesh2.h" #include "LOD_ExternNormalEditor.h" diff --git a/intern/decimation/intern/LOD_Quadric.h b/intern/decimation/intern/LOD_Quadric.h index d5b85c9ab71..16d3911538b 100644 --- a/intern/decimation/intern/LOD_Quadric.h +++ b/intern/decimation/intern/LOD_Quadric.h @@ -30,9 +30,12 @@ */ #ifndef NAN_INCLUDED_LOD_Quadric_h - #define NAN_INCLUDED_LOD_Quadric_h +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MT_Vector3.h" #include "MT_Matrix3x3.h" diff --git a/intern/decimation/intern/LOD_QuadricEditor.cpp b/intern/decimation/intern/LOD_QuadricEditor.cpp index 751f5d1e7e0..c1e5614b01d 100644 --- a/intern/decimation/intern/LOD_QuadricEditor.cpp +++ b/intern/decimation/intern/LOD_QuadricEditor.cpp @@ -29,8 +29,11 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ -#include "LOD_QuadricEditor.h" +#ifdef HAVE_CONFIG_H +#include +#endif +#include "LOD_QuadricEditor.h" #include "LOD_ExternNormalEditor.h" // Creation diff --git a/intern/decimation/intern/LOD_QuadricEditor.h b/intern/decimation/intern/LOD_QuadricEditor.h index d7f230ec2da..0e3a9d1813c 100644 --- a/intern/decimation/intern/LOD_QuadricEditor.h +++ b/intern/decimation/intern/LOD_QuadricEditor.h @@ -30,9 +30,12 @@ */ #ifndef NAN_INCLUDED_LOD_QuadricEditor_h - #define NAN_INCLUDED_LOD_QuadricEditor_h +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MEM_NonCopyable.h" #include "LOD_ManMesh2.h" #include "MT_Vector3.h" diff --git a/intern/decimation/intern/LOD_decimation.cpp b/intern/decimation/intern/LOD_decimation.cpp index 7bbc0945424..0f6500b829d 100644 --- a/intern/decimation/intern/LOD_decimation.cpp +++ b/intern/decimation/intern/LOD_decimation.cpp @@ -30,7 +30,9 @@ */ // implementation of external c api - +#ifdef HAVE_CONFIG_H +#include +#endif #include "../extern/LOD_decimation.h" #include "LOD_DecimationClass.h" -- cgit v1.2.3