Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2002-11-25 12:53:07 +0300
committerKent Mein <mein@cs.umn.edu>2002-11-25 12:53:07 +0300
commit0fbadc8eb7c93e10902cc4357a42dcd73c0a076b (patch)
tree66eca67171025b24578bda6cb5484a141d894a30 /intern/moto
parentd44f2c6dcc8fbd38790166da79e930e6d79abd08 (diff)
Yes I did it again ;)
added the following 3 lines to everything in the intern dir: #ifdef HAVE_CONFIG_H #include <config.h> #endif Kent -- mein@cs.umn.edu
Diffstat (limited to 'intern/moto')
-rw-r--r--intern/moto/include/GEN_List.h4
-rw-r--r--intern/moto/include/GEN_Map.h6
-rw-r--r--intern/moto/include/MT_CmMatrix4x4.h5
-rwxr-xr-xintern/moto/include/MT_Matrix3x3.h4
-rwxr-xr-xintern/moto/include/MT_Matrix4x4.h4
-rwxr-xr-xintern/moto/include/MT_MinMax.h4
-rw-r--r--intern/moto/include/MT_Optimize.h5
-rw-r--r--intern/moto/include/MT_Plane3.h5
-rw-r--r--intern/moto/include/MT_Point2.h4
-rw-r--r--intern/moto/include/MT_Point3.h4
-rw-r--r--intern/moto/include/MT_Quaternion.h4
-rwxr-xr-xintern/moto/include/MT_Scalar.h4
-rwxr-xr-xintern/moto/include/MT_Stream.h5
-rw-r--r--intern/moto/include/MT_Transform.h4
-rwxr-xr-xintern/moto/include/MT_Tuple2.h4
-rwxr-xr-xintern/moto/include/MT_Tuple3.h4
-rwxr-xr-xintern/moto/include/MT_Tuple4.h4
-rw-r--r--intern/moto/include/MT_Vector2.h4
-rw-r--r--intern/moto/include/MT_Vector3.h4
-rw-r--r--intern/moto/include/MT_Vector4.h4
-rw-r--r--intern/moto/include/MT_assert.h5
-rwxr-xr-xintern/moto/include/MT_random.h5
-rw-r--r--intern/moto/include/NM_Scalar.h4
-rwxr-xr-xintern/moto/intern/MT_CmMatrix4x4.cpp3
-rw-r--r--intern/moto/intern/MT_Matrix3x3.cpp4
-rw-r--r--intern/moto/intern/MT_Matrix4x4.cpp4
-rw-r--r--intern/moto/intern/MT_Plane3.cpp3
-rw-r--r--intern/moto/intern/MT_Point3.cpp4
-rw-r--r--intern/moto/intern/MT_Quaternion.cpp4
-rw-r--r--intern/moto/intern/MT_Transform.cpp4
-rw-r--r--intern/moto/intern/MT_Vector2.cpp4
-rw-r--r--intern/moto/intern/MT_Vector3.cpp4
-rw-r--r--intern/moto/intern/MT_Vector4.cpp4
-rwxr-xr-xintern/moto/intern/MT_random.cpp4
34 files changed, 135 insertions, 7 deletions
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 <config.h>
+#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 <config.h>
+#endif
+
+
template <class Key, class Value>
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 <config.h>
+#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 <config.h>
+#endif
+
#include <MT_assert.h>
#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 <config.h>
+#endif
+
#include <MT_assert.h>
#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 <config.h>
+#endif
+
template <class T>
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 <config.h>
+#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 <config.h>
+#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 <config.h>
+#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 <config.h>
+#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 <config.h>
+#endif
+
#include <MT_assert.h>
#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 <math.h>
#include <float.h>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#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 <config.h>
+#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 <config.h>
+#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 <config.h>
+#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 <config.h>
+#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 <config.h>
+#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 <config.h>
+#endif
+
#include <MT_assert.h>
#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 <config.h>
+#endif
+
#include <MT_assert.h>
#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 <config.h>
+#endif
+
#include <MT_assert.h>
#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 <config.h>
+#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 <config.h>
+#endif
+
#include <limits.h>
#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 <iostream>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
template <class T>
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 <config.h>
+#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 <config.h>
+#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 <config.h>
+#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 <config.h>
+#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 <config.h>
+#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 <config.h>
+#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 <config.h>
+#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 <config.h>
+#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 <config.h>
+#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 <config.h>
+#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 <config.h>
+#endif
+
#include "MT_random.h"
/* Period parameters */