forked from bartvdbraak/blender
Making the C++ stuff work for the MipsPro 7.3 compiler.
Kester might want to check this for correctness Kent might want to test if this breaks the Sun compile.
This commit is contained in:
parent
0883f68263
commit
12307b358d
5
extern/solid/include/MT/Interval.h
vendored
5
extern/solid/include/MT/Interval.h
vendored
@ -24,7 +24,12 @@
|
||||
#ifndef INTERVAL_H
|
||||
#define INTERVAL_H
|
||||
|
||||
#if defined (__sgi)
|
||||
#include <assert.h>
|
||||
#else
|
||||
#include <cassert>
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
#include <algorithm>
|
||||
|
||||
|
4
extern/solid/include/MT/Matrix3x3.h
vendored
4
extern/solid/include/MT/Matrix3x3.h
vendored
@ -24,7 +24,11 @@
|
||||
#ifndef MATRIX3X3_H
|
||||
#define MATRIX3X3_H
|
||||
|
||||
#if defined (__sgi)
|
||||
#include <assert.h>
|
||||
#else
|
||||
#include <cassert>
|
||||
#endif
|
||||
|
||||
#include "Vector3.h"
|
||||
#include "Quaternion.h"
|
||||
|
4
extern/solid/include/MT/Quaternion.h
vendored
4
extern/solid/include/MT/Quaternion.h
vendored
@ -24,7 +24,11 @@
|
||||
#ifndef QUATERNION_H
|
||||
#define QUATERNION_H
|
||||
|
||||
#if defined (__sgi)
|
||||
#include <assert.h>
|
||||
#else
|
||||
#include <cassert>
|
||||
#endif
|
||||
|
||||
#include "Tuple4.h"
|
||||
#include "Vector3.h"
|
||||
|
5
extern/solid/include/MT/Tuple3.h
vendored
5
extern/solid/include/MT/Tuple3.h
vendored
@ -24,7 +24,12 @@
|
||||
#ifndef TUPLE3_H
|
||||
#define TUPLE3_H
|
||||
|
||||
#if defined (__sgi)
|
||||
#include <assert.h>
|
||||
#else
|
||||
#include <cassert>
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
|
||||
namespace MT {
|
||||
|
5
extern/solid/include/MT/Tuple4.h
vendored
5
extern/solid/include/MT/Tuple4.h
vendored
@ -24,7 +24,12 @@
|
||||
#ifndef TUPLE4_H
|
||||
#define TUPLE4_H
|
||||
|
||||
#if defined (__sgi)
|
||||
#include <assert.h>
|
||||
#else
|
||||
#include <cassert>
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
|
||||
namespace MT {
|
||||
|
4
extern/solid/include/MT/Vector3.h
vendored
4
extern/solid/include/MT/Vector3.h
vendored
@ -24,7 +24,11 @@
|
||||
#ifndef VECTOR3_H
|
||||
#define VECTOR3_H
|
||||
|
||||
#if defined (__sgi)
|
||||
#include <assert.h>
|
||||
#else
|
||||
#include <cassert>
|
||||
#endif
|
||||
|
||||
#include "Tuple3.h"
|
||||
|
||||
|
10
extern/solid/include/MT_Scalar.h
vendored
10
extern/solid/include/MT_Scalar.h
vendored
@ -24,15 +24,17 @@
|
||||
#ifndef MT_SCALAR_H
|
||||
#define MT_SCALAR_H
|
||||
|
||||
#include <cmath>
|
||||
#if defined (__sun__) || defined ( __sun ) || defined (__sparc) || defined (__sparc__)
|
||||
#if defined (__sun__) || defined ( __sun ) || defined (__sparc) || defined (__sparc__) || defined (__sgi)
|
||||
#include <math.h>
|
||||
#include <float.h>
|
||||
#else
|
||||
#include <cmath>
|
||||
#include <cstdlib>
|
||||
#include <cfloat>
|
||||
#endif
|
||||
|
||||
#undef max
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cfloat>
|
||||
#include "SOLID_types.h"
|
||||
|
||||
#include "GEN_MinMax.h"
|
||||
|
4
extern/solid/src/convex/DT_Array.h
vendored
4
extern/solid/src/convex/DT_Array.h
vendored
@ -24,7 +24,11 @@
|
||||
#ifndef DT_ARRAY_H
|
||||
#define DT_ARRAY_H
|
||||
|
||||
#if defined (__sgi)
|
||||
#include <assert.h>
|
||||
#else
|
||||
#include <cassert>
|
||||
#endif
|
||||
|
||||
template <typename Data, typename Size = size_t>
|
||||
class DT_Array {
|
||||
|
@ -30,7 +30,11 @@
|
||||
* ***** END GPL/BL DUAL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#if defined (__sgi)
|
||||
#include <math.h>
|
||||
#else
|
||||
#include <cmath>
|
||||
#endif
|
||||
|
||||
#include "SCA_LogicManager.h"
|
||||
#include "BL_ActionActuator.h"
|
||||
|
@ -32,7 +32,11 @@
|
||||
* ***** END GPL/BL DUAL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#if defined (__sgi)
|
||||
#include <math.h>
|
||||
#else
|
||||
#include <cmath>
|
||||
#endif
|
||||
|
||||
#include "KX_IpoActuator.h"
|
||||
#include "KX_GameObject.h"
|
||||
|
Loading…
Reference in New Issue
Block a user