ports/graphics/dynamechs/files/patch-dmGL::dmGL.h
Ying-Chieh Liao 36aea8a3af - Fix build on 5-current
PR:		46419
Submitted by:	Ports Fury
2002-12-22 18:01:53 +00:00

14 lines
635 B
C++

--- dmGL/dmGL.h.orig Thu Jul 19 08:40:38 2001
+++ dmGL/dmGL.h Sat Dec 21 08:54:11 2002
@@ -44,9 +44,10 @@
// 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))
+#if defined(WIN32) || (defined(sgi) && defined(_STANDARD_C_PLUS_PLUS)) || (defined(__GNUC__) && (__GNUC__>=2) && (__GNUC_MINOR__>=91)) || (defined(__GNUC__) && (__GNUC__>=3))
#include <iostream>
#include <iomanip>
+using namespace std;
#else
#include <iostream.h>
#include <iomanip.h>