summaryrefslogtreecommitdiffstats
path: root/devel/boehm-gc/files/patch-ac
blob: cdf66cc9d1073804110387bb5c6d1847dc810c79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- gc_priv.h.orig	Wed Aug 20 16:22:54 1997
+++ gc_priv.h	Mon Apr  6 03:25:55 1998
@@ -49,6 +49,10 @@
 #   include "gc_hdrs.h"
 # endif
 
+# ifdef __cplusplus
+#	define TRUE true
+#	define FALSE false
+# else
 # if !defined(bool) && !defined(__cplusplus)
     typedef int bool;
     /* This is problematic with C++ implementations that do not define bool. */
@@ -67,6 +71,7 @@
 # endif
 # define TRUE 1
 # define FALSE 0
+# endif
 
 typedef char * ptr_t;	/* A generic pointer to which we can add	*/
 			/* byte displacements.				*/
OpenPOWER on IntegriCloud