1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-23 20:51:43 +00:00
freebsd-ports/devel/boehm-gc/files/patch-ac
1998-04-20 11:53:28 +00:00

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