1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/devel/boehm-gc/files/patch-ac

22 lines
532 B
Plaintext
Raw Normal View History

1998-04-20 11:53:28 +00:00
--- 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
1998-04-20 11:53:28 +00:00
+# define TRUE true
+# define FALSE false
+# else
1998-04-20 11:53:28 +00:00
# if !defined(bool) && !defined(__cplusplus)
typedef int bool;
/* This is problematic with C++ implementations that do not define bool. */
@@ -67,6 +71,7 @@
# endif
1998-04-20 11:53:28 +00:00
# define TRUE 1
# define FALSE 0
+# endif
typedef char * ptr_t; /* A generic pointer to which we can add */
/* byte displacements. */