mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
8902a20e43
modified two of the patches in the hopes that they would help build this port on -current." Unfortunately I still see "dm/dm.h:26:1: unterminated #ifndef" on 5.1-RELEASE so I'm going to leave it marked broken there. PR: ports/57079 Submitted by: Pedro F. Giffuni <giffunip@yahoo.com>.
33 lines
889 B
C++
33 lines
889 B
C++
--- 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)
|