aboutsummaryrefslogtreecommitdiff
path: root/graphics/dynamechs/files/patch-dm__dm.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/dynamechs/files/patch-dm__dm.h')
-rw-r--r--graphics/dynamechs/files/patch-dm__dm.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/graphics/dynamechs/files/patch-dm__dm.h b/graphics/dynamechs/files/patch-dm__dm.h
new file mode 100644
index 000000000000..f597410da31a
--- /dev/null
+++ b/graphics/dynamechs/files/patch-dm__dm.h
@@ -0,0 +1,32 @@
+--- dm/dm.h.orig Wed Jul 18 18:40:37 2001
++++ dm/dm.h Sat Sep 13 11:00:02 2003
+@@ -48,18 +48,9 @@
+ #include <windows.h>
+ #endif
+
+-// a bunch of hacks to select standard conforming iostream stuff if available
+-// on the platform
+-
+-#if defined(WIN32) || (defined(sgi) && defined(_STANDARD_C_PLUS_PLUS)) || (defined(__GNUC__) && (__GNUC__>=2) && (__GNUC_MINOR__>=91))
+ #include <iostream>
+ #include <iomanip>
+ #include <fstream>
+-#else
+-#include <iostream.h>
+-#include <iomanip.h>
+-#include <fstream.h>
+-#endif
+
+ #include <math.h>
+ #include <stdlib.h>
+@@ -102,10 +93,8 @@
+ };
+
+ // Use the std namespace. To do this we must first guarantee that it exists.
+-#if defined(__sgi) || defined(__WIN32_) || defined(WIN32)
+ namespace std {}
+ using namespace std;
+-#endif
+
+ //----------------------------------------------------------------------------
+ inline void normalizeQuat(Quaternion quat)