summaryrefslogtreecommitdiffstats
path: root/biology/L-Breeder/files/patch-thinair::environ.h
blob: 53eb1b9055be5ee0f03b947b1e491b304e924d07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- thinair/environ.h.orig	Wed Aug 16 17:08:27 2000
+++ thinair/environ.h	Wed Nov 19 21:54:56 2003
@@ -35,17 +35,20 @@
      #include <minmax.h>
   #endif
 
-  #if __GNUC__ >= 2 && __GNUC_MINOR__ >= 6 && defined( __cplusplus )
+  #if ((__GNUC__ == 2 && __GNUC_MINOR__ >= 6) || __GNUC__ > 2) && defined( __cplusplus )
      #define  _HAS_BOOL
      #define  _STRING_CLASS
-     #if __GNUC__ >= 2 && __GNUC_MINOR__ < 7
+     #define  _ANSI_CPP_HEADERS
+     #if __GNUC__ == 2 && __GNUC_MINOR__ < 7
        #define  _STRING_HEADER   <g++/String.h>
        #define  _STRING          String
      #else
        #define  _STRING_HEADER   <string>
        #define  _STRING          string
        #define  _DIFFERING_RETURNS_ALLOWED
+       #if __GNUC__ == 2
        #include <stl.h>
+       #endif
      #endif
      #define  _HAS_INT64
 
OpenPOWER on IntegriCloud