openbsd-ports/devel/boehm-gc/patches/patch-ac

22 lines
532 B
Plaintext

--- 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. */