diff options
author | Chris Want <cwant@ualberta.ca> | 2004-11-24 02:04:30 +0300 |
---|---|---|
committer | Chris Want <cwant@ualberta.ca> | 2004-11-24 02:04:30 +0300 |
commit | 12307b358dfc4ee9470418f0a87da34a45623fc9 (patch) | |
tree | 292f857231d8b0895216f1b067556d6ac5b9c923 /source/gameengine | |
parent | 0883f682639e0a2043258a2222fc3bdd3a8aa0eb (diff) |
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.
Diffstat (limited to 'source/gameengine')
-rw-r--r-- | source/gameengine/Converter/BL_ActionActuator.cpp | 4 | ||||
-rw-r--r-- | source/gameengine/Ketsji/KX_IpoActuator.cpp | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/source/gameengine/Converter/BL_ActionActuator.cpp b/source/gameengine/Converter/BL_ActionActuator.cpp index d5ae1afd023..0289ec42d74 100644 --- a/source/gameengine/Converter/BL_ActionActuator.cpp +++ b/source/gameengine/Converter/BL_ActionActuator.cpp @@ -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" diff --git a/source/gameengine/Ketsji/KX_IpoActuator.cpp b/source/gameengine/Ketsji/KX_IpoActuator.cpp index 08464fc88de..66850b2f60b 100644 --- a/source/gameengine/Ketsji/KX_IpoActuator.cpp +++ b/source/gameengine/Ketsji/KX_IpoActuator.cpp @@ -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" |