blob: 621e0519eea9fa8c2663f1e4f7da1ec22b2dada8 (
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
|
--- gc_priv.h.orig Fri Feb 9 14:36:32 1996
+++ gc_priv.h Thu Apr 2 17:37:22 1998
@@ -49,13 +49,18 @@
# include "gc_hdrs.h"
# endif
-# if !defined(bool)
- typedef int bool;
+# ifdef __cplusplus
+# define TRUE true
+# define FALSE false
+# else
+# if !defined(bool)
+ typedef int bool;
/* This is problematic with C++ implementations that define bool. */
/* But those usually treat it correctly as an empty declaration. */
+# endif
+# define TRUE 1
+# define FALSE 0
# endif
-# define TRUE 1
-# define FALSE 0
typedef char * ptr_t; /* A generic pointer to which we can add */
/* byte displacements. */
|