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/moto/include/GEN_List.h | 4 ++++ intern/moto/include/GEN_Map.h | 6 +++++- intern/moto/include/MT_CmMatrix4x4.h | 5 ++++- intern/moto/include/MT_Matrix3x3.h | 4 ++++ intern/moto/include/MT_Matrix4x4.h | 4 ++++ intern/moto/include/MT_MinMax.h | 4 ++++ intern/moto/include/MT_Optimize.h | 5 ++++- intern/moto/include/MT_Plane3.h | 5 ++++- intern/moto/include/MT_Point2.h | 4 ++++ intern/moto/include/MT_Point3.h | 4 ++++ intern/moto/include/MT_Quaternion.h | 4 ++++ intern/moto/include/MT_Scalar.h | 4 ++++ intern/moto/include/MT_Stream.h | 5 ++++- intern/moto/include/MT_Transform.h | 4 ++++ intern/moto/include/MT_Tuple2.h | 4 ++++ intern/moto/include/MT_Tuple3.h | 4 ++++ intern/moto/include/MT_Tuple4.h | 4 ++++ intern/moto/include/MT_Vector2.h | 4 ++++ intern/moto/include/MT_Vector3.h | 4 ++++ intern/moto/include/MT_Vector4.h | 4 ++++ intern/moto/include/MT_assert.h | 5 ++++- intern/moto/include/MT_random.h | 5 ++++- intern/moto/include/NM_Scalar.h | 4 ++++ intern/moto/intern/MT_CmMatrix4x4.cpp | 3 +++ intern/moto/intern/MT_Matrix3x3.cpp | 4 ++++ intern/moto/intern/MT_Matrix4x4.cpp | 4 ++++ intern/moto/intern/MT_Plane3.cpp | 3 +++ intern/moto/intern/MT_Point3.cpp | 4 ++++ intern/moto/intern/MT_Quaternion.cpp | 4 ++++ intern/moto/intern/MT_Transform.cpp | 4 ++++ intern/moto/intern/MT_Vector2.cpp | 4 ++++ intern/moto/intern/MT_Vector3.cpp | 4 ++++ intern/moto/intern/MT_Vector4.cpp | 4 ++++ intern/moto/intern/MT_random.cpp | 4 ++++ 34 files changed, 135 insertions(+), 7 deletions(-) (limited to 'intern/moto') diff --git a/intern/moto/include/GEN_List.h b/intern/moto/include/GEN_List.h index 03d9463b2bb..fd209098342 100644 --- a/intern/moto/include/GEN_List.h +++ b/intern/moto/include/GEN_List.h @@ -64,6 +64,10 @@ #ifndef GEN_LIST_H #define GEN_LIST_H +#ifdef HAVE_CONFIG_H +#include +#endif + class GEN_Link { public: GEN_Link() : m_next(0), m_prev(0) {} diff --git a/intern/moto/include/GEN_Map.h b/intern/moto/include/GEN_Map.h index 38b1500fd98..6459d75a090 100644 --- a/intern/moto/include/GEN_Map.h +++ b/intern/moto/include/GEN_Map.h @@ -30,9 +30,13 @@ */ #ifndef GEN_MAP_H - #define GEN_MAP_H +#ifdef HAVE_CONFIG_H +#include +#endif + + template class GEN_Map { private: diff --git a/intern/moto/include/MT_CmMatrix4x4.h b/intern/moto/include/MT_CmMatrix4x4.h index d0dcac6d023..2bebddd444a 100644 --- a/intern/moto/include/MT_CmMatrix4x4.h +++ b/intern/moto/include/MT_CmMatrix4x4.h @@ -30,9 +30,12 @@ */ #ifndef INCLUDED_MT_CmMatrix4x4 - #define INCLUDED_MT_CmMatrix4x4 +#ifdef HAVE_CONFIG_H +#include +#endif + /** * A 4x4 matrix. This is an OpenGl style matrix (column major) meaning * that the vector {m[0][0],m[0][1],m[0][2],m[0][3]} is the first column of diff --git a/intern/moto/include/MT_Matrix3x3.h b/intern/moto/include/MT_Matrix3x3.h index c9597630ed1..949ecf73dd9 100755 --- a/intern/moto/include/MT_Matrix3x3.h +++ b/intern/moto/include/MT_Matrix3x3.h @@ -46,6 +46,10 @@ #ifndef MT_MATRIX3X3_H #define MT_MATRIX3X3_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include "MT_Vector3.h" diff --git a/intern/moto/include/MT_Matrix4x4.h b/intern/moto/include/MT_Matrix4x4.h index b4f271000dd..a5428f50f0c 100755 --- a/intern/moto/include/MT_Matrix4x4.h +++ b/intern/moto/include/MT_Matrix4x4.h @@ -39,6 +39,10 @@ #ifndef MT_MATRIX4X4_H #define MT_MATRIX4X4_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include "MT_Vector4.h" diff --git a/intern/moto/include/MT_MinMax.h b/intern/moto/include/MT_MinMax.h index 06f8a8d18c8..f06c86feae5 100755 --- a/intern/moto/include/MT_MinMax.h +++ b/intern/moto/include/MT_MinMax.h @@ -46,6 +46,10 @@ #ifndef MT_MINMAX_H #define MT_MINMAX_H +#ifdef HAVE_CONFIG_H +#include +#endif + template inline const T& MT_min(const T& a, const T& b) { return b < a ? b : a; diff --git a/intern/moto/include/MT_Optimize.h b/intern/moto/include/MT_Optimize.h index bf54ca8cade..965bf30f7c9 100644 --- a/intern/moto/include/MT_Optimize.h +++ b/intern/moto/include/MT_Optimize.h @@ -30,9 +30,12 @@ */ #ifndef GEN_OPTIMIZE_H - #define GEN_OPTIMIZE_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef GEN_INLINED #define GEN_INLINE inline #else diff --git a/intern/moto/include/MT_Plane3.h b/intern/moto/include/MT_Plane3.h index 85315af8f5f..002ef45933b 100644 --- a/intern/moto/include/MT_Plane3.h +++ b/intern/moto/include/MT_Plane3.h @@ -30,9 +30,12 @@ */ #ifndef MT_PLANE3 - #define MT_PLANE3 +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MT_Tuple4.h" #include "MT_Point3.h" diff --git a/intern/moto/include/MT_Point2.h b/intern/moto/include/MT_Point2.h index c6995f1ab0b..fd98d261029 100644 --- a/intern/moto/include/MT_Point2.h +++ b/intern/moto/include/MT_Point2.h @@ -46,6 +46,10 @@ #ifndef MT_POINT2_H #define MT_POINT2_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MT_Vector2.h" class MT_Point2 : public MT_Vector2 { diff --git a/intern/moto/include/MT_Point3.h b/intern/moto/include/MT_Point3.h index 90a1a37ed37..8e36906b166 100644 --- a/intern/moto/include/MT_Point3.h +++ b/intern/moto/include/MT_Point3.h @@ -46,6 +46,10 @@ #ifndef MT_POINT_H #define MT_POINT_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MT_Vector3.h" class MT_Point3 : public MT_Vector3 { diff --git a/intern/moto/include/MT_Quaternion.h b/intern/moto/include/MT_Quaternion.h index 045d346229c..1bc745ebe2d 100644 --- a/intern/moto/include/MT_Quaternion.h +++ b/intern/moto/include/MT_Quaternion.h @@ -46,6 +46,10 @@ #ifndef MT_QUATERNION_H #define MT_QUATERNION_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include "MT_Vector3.h" diff --git a/intern/moto/include/MT_Scalar.h b/intern/moto/include/MT_Scalar.h index 0a72a52c20e..6a3429f69a6 100755 --- a/intern/moto/include/MT_Scalar.h +++ b/intern/moto/include/MT_Scalar.h @@ -49,6 +49,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MT_random.h" #include "NM_Scalar.h" diff --git a/intern/moto/include/MT_Stream.h b/intern/moto/include/MT_Stream.h index 75d61014df8..a2729ced817 100755 --- a/intern/moto/include/MT_Stream.h +++ b/intern/moto/include/MT_Stream.h @@ -30,9 +30,12 @@ */ #ifndef GEN_STREAM_H - #define GEN_STREAM_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __CUSTOM_STREAM class MT_OStream diff --git a/intern/moto/include/MT_Transform.h b/intern/moto/include/MT_Transform.h index e774b125d0e..f56927c525d 100644 --- a/intern/moto/include/MT_Transform.h +++ b/intern/moto/include/MT_Transform.h @@ -53,6 +53,10 @@ #ifndef MT_TRANSFORM_H #define MT_TRANSFORM_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MT_Point3.h" #include "MT_Matrix3x3.h" diff --git a/intern/moto/include/MT_Tuple2.h b/intern/moto/include/MT_Tuple2.h index 8a8334663ce..8229511020d 100755 --- a/intern/moto/include/MT_Tuple2.h +++ b/intern/moto/include/MT_Tuple2.h @@ -46,6 +46,10 @@ #ifndef MT_Tuple2_H #define MT_Tuple2_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MT_Stream.h" #include "MT_Scalar.h" diff --git a/intern/moto/include/MT_Tuple3.h b/intern/moto/include/MT_Tuple3.h index 13be54adb57..8029a92b173 100755 --- a/intern/moto/include/MT_Tuple3.h +++ b/intern/moto/include/MT_Tuple3.h @@ -46,6 +46,10 @@ #ifndef MT_TUPLE3_H #define MT_TUPLE3_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MT_Stream.h" #include "MT_Scalar.h" diff --git a/intern/moto/include/MT_Tuple4.h b/intern/moto/include/MT_Tuple4.h index 72b9e5f90a6..eccddb3229a 100755 --- a/intern/moto/include/MT_Tuple4.h +++ b/intern/moto/include/MT_Tuple4.h @@ -46,6 +46,10 @@ #ifndef MT_TUPLE4_H #define MT_TUPLE4_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MT_Stream.h" #include "MT_Scalar.h" diff --git a/intern/moto/include/MT_Vector2.h b/intern/moto/include/MT_Vector2.h index b65feeff8bf..a0f92f4ca80 100644 --- a/intern/moto/include/MT_Vector2.h +++ b/intern/moto/include/MT_Vector2.h @@ -46,6 +46,10 @@ #ifndef MT_VECTOR2_H #define MT_VECTOR2_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include "MT_Tuple2.h" diff --git a/intern/moto/include/MT_Vector3.h b/intern/moto/include/MT_Vector3.h index e940e55d10c..b07bc8e3161 100644 --- a/intern/moto/include/MT_Vector3.h +++ b/intern/moto/include/MT_Vector3.h @@ -46,6 +46,10 @@ #ifndef MT_VECTOR3_H #define MT_VECTOR3_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include "MT_Tuple3.h" diff --git a/intern/moto/include/MT_Vector4.h b/intern/moto/include/MT_Vector4.h index 32b71f950b8..127f716577a 100644 --- a/intern/moto/include/MT_Vector4.h +++ b/intern/moto/include/MT_Vector4.h @@ -46,6 +46,10 @@ #ifndef MT_VECTOR4_H #define MT_VECTOR4_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include "MT_Tuple4.h" diff --git a/intern/moto/include/MT_assert.h b/intern/moto/include/MT_assert.h index 2f9f3c928db..7d37f950f31 100644 --- a/intern/moto/include/MT_assert.h +++ b/intern/moto/include/MT_assert.h @@ -30,9 +30,12 @@ */ #ifndef MT_ASSERT_H - #define MT_ASSERT_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef MT_NDEBUG #define MT_assert(predicate) ((void)0) diff --git a/intern/moto/include/MT_random.h b/intern/moto/include/MT_random.h index adfe31f9c41..41a01cf05e2 100755 --- a/intern/moto/include/MT_random.h +++ b/intern/moto/include/MT_random.h @@ -30,9 +30,12 @@ */ #ifndef MT_RANDOM_H - #define MT_RANDOM_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include #define MT_RAND_MAX ULONG_MAX diff --git a/intern/moto/include/NM_Scalar.h b/intern/moto/include/NM_Scalar.h index 3224ef4ee18..33e5d477565 100644 --- a/intern/moto/include/NM_Scalar.h +++ b/intern/moto/include/NM_Scalar.h @@ -33,6 +33,10 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + template class NM_Scalar { public: diff --git a/intern/moto/intern/MT_CmMatrix4x4.cpp b/intern/moto/intern/MT_CmMatrix4x4.cpp index 0cc830980a0..64ff3512c7a 100755 --- a/intern/moto/intern/MT_CmMatrix4x4.cpp +++ b/intern/moto/intern/MT_CmMatrix4x4.cpp @@ -60,6 +60,9 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "MT_CmMatrix4x4.h" #include "MT_Vector3.h" diff --git a/intern/moto/intern/MT_Matrix3x3.cpp b/intern/moto/intern/MT_Matrix3x3.cpp index ded09a6b851..61dcc3b2d02 100644 --- a/intern/moto/intern/MT_Matrix3x3.cpp +++ b/intern/moto/intern/MT_Matrix3x3.cpp @@ -29,6 +29,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MT_Matrix3x3.h" diff --git a/intern/moto/intern/MT_Matrix4x4.cpp b/intern/moto/intern/MT_Matrix4x4.cpp index ce2c3bcf616..ff0ad3caba7 100644 --- a/intern/moto/intern/MT_Matrix4x4.cpp +++ b/intern/moto/intern/MT_Matrix4x4.cpp @@ -29,6 +29,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MT_Matrix4x4.h" diff --git a/intern/moto/intern/MT_Plane3.cpp b/intern/moto/intern/MT_Plane3.cpp index 01d10dac5b9..054b09a48cc 100644 --- a/intern/moto/intern/MT_Plane3.cpp +++ b/intern/moto/intern/MT_Plane3.cpp @@ -60,6 +60,9 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif #ifndef GEN_INLINED #include "MT_Plane3.h" diff --git a/intern/moto/intern/MT_Point3.cpp b/intern/moto/intern/MT_Point3.cpp index 4d704e4949a..1c585ad5eb4 100644 --- a/intern/moto/intern/MT_Point3.cpp +++ b/intern/moto/intern/MT_Point3.cpp @@ -29,6 +29,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MT_Point3.h" diff --git a/intern/moto/intern/MT_Quaternion.cpp b/intern/moto/intern/MT_Quaternion.cpp index eb55ed45f5d..6dd08ad484f 100644 --- a/intern/moto/intern/MT_Quaternion.cpp +++ b/intern/moto/intern/MT_Quaternion.cpp @@ -29,6 +29,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MT_Quaternion.h" diff --git a/intern/moto/intern/MT_Transform.cpp b/intern/moto/intern/MT_Transform.cpp index 31af8223a4f..1af52abca3b 100644 --- a/intern/moto/intern/MT_Transform.cpp +++ b/intern/moto/intern/MT_Transform.cpp @@ -50,6 +50,10 @@ */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MT_Transform.h" void MT_Transform::setValue(const float *m) { diff --git a/intern/moto/intern/MT_Vector2.cpp b/intern/moto/intern/MT_Vector2.cpp index 93284098195..c8ac08210e5 100644 --- a/intern/moto/intern/MT_Vector2.cpp +++ b/intern/moto/intern/MT_Vector2.cpp @@ -29,6 +29,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MT_Vector2.h" diff --git a/intern/moto/intern/MT_Vector3.cpp b/intern/moto/intern/MT_Vector3.cpp index fe5861b0a41..9285f2fcb19 100644 --- a/intern/moto/intern/MT_Vector3.cpp +++ b/intern/moto/intern/MT_Vector3.cpp @@ -29,6 +29,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MT_Vector3.h" diff --git a/intern/moto/intern/MT_Vector4.cpp b/intern/moto/intern/MT_Vector4.cpp index db77b20130c..efe7d3e7b04 100644 --- a/intern/moto/intern/MT_Vector4.cpp +++ b/intern/moto/intern/MT_Vector4.cpp @@ -29,6 +29,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MT_Vector4.h" diff --git a/intern/moto/intern/MT_random.cpp b/intern/moto/intern/MT_random.cpp index 72e7c373201..0c46211c3e8 100755 --- a/intern/moto/intern/MT_random.cpp +++ b/intern/moto/intern/MT_random.cpp @@ -58,6 +58,10 @@ /* When you use this, send an email to: matumoto@math.keio.ac.jp */ /* with an appropriate reference to your work. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "MT_random.h" /* Period parameters */ -- cgit v1.2.3