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:
Chris Want 2004-11-23 23:04:30 +00:00
parent 0883f68263
commit 12307b358d
10 changed files with 45 additions and 4 deletions

@ -24,7 +24,12 @@
#ifndef INTERVAL_H
#define INTERVAL_H
#if defined (__sgi)
#include <assert.h>
#else
#include <cassert>
#endif
#include <iostream>
#include <algorithm>

@ -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"

@ -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"

@ -24,7 +24,12 @@
#ifndef TUPLE3_H
#define TUPLE3_H
#if defined (__sgi)
#include <assert.h>
#else
#include <cassert>
#endif
#include <iostream>
namespace MT {

@ -24,7 +24,12 @@
#ifndef TUPLE4_H
#define TUPLE4_H
#if defined (__sgi)
#include <assert.h>
#else
#include <cassert>
#endif
#include <iostream>
namespace MT {

@ -24,7 +24,11 @@
#ifndef VECTOR3_H
#define VECTOR3_H
#if defined (__sgi)
#include <assert.h>
#else
#include <cassert>
#endif
#include "Tuple3.h"

@ -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"

@ -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"