diff options
author | John Polstra <jdp@FreeBSD.org> | 1998-04-03 01:51:56 +0000 |
---|---|---|
committer | John Polstra <jdp@FreeBSD.org> | 1998-04-03 01:51:56 +0000 |
commit | a3a8d209617bf230fd508fc1313fde71a7798304 (patch) | |
tree | 883cd1b098a006afd24558dee9052c092d95b118 /devel/boehm-gc | |
parent | 505b17c590a65039508d4fa085a61f29097cc60a (diff) | |
download | ports-a3a8d209617bf230fd508fc1313fde71a7798304.tar.gz ports-a3a8d209617bf230fd508fc1313fde71a7798304.zip |
Notes
Diffstat (limited to 'devel/boehm-gc')
-rw-r--r-- | devel/boehm-gc/files/patch-ac | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/devel/boehm-gc/files/patch-ac b/devel/boehm-gc/files/patch-ac new file mode 100644 index 000000000000..621e0519eea9 --- /dev/null +++ b/devel/boehm-gc/files/patch-ac @@ -0,0 +1,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. */ |