]> git.mxchange.org Git - simgear.git/commitdiff
An ugly hack to get MipsPro 7.4.1 working on IRIX 6
authorehofman <ehofman>
Fri, 20 Feb 2004 16:07:51 +0000 (16:07 +0000)
committerehofman <ehofman>
Fri, 20 Feb 2004 16:07:51 +0000 (16:07 +0000)
.5.20 (Yuck)

simgear/threads/SGThread.cxx

index 484cce1d055a83741813a96bcb5bd0451eb33f5c..0d6f304cc86a379a9c402283b4a4c4b97eb02ecd 100644 (file)
@@ -3,6 +3,11 @@
 #if defined(_MSC_VER) || defined(__MINGW32__)
 #  include <time.h>
 #else
+#  if defined ( sgi ) && !defined( __GNUC__ )
+     // This works arounf a bug triggered when using MipsPro 7.4.1
+     // and (at least) IRIX 6.5.20
+#    include <iostream>
+#  endif
 #  include <sys/time.h>
 #endif
 #if _MSC_VER >= 1300