diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1998-04-20 11:53:28 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1998-04-20 11:53:28 +0000 |
commit | 4e8a5d94d4d3206d85fff63ea5895c0b21a1775f (patch) | |
tree | e50de019593e165b19c3a6e5869964eb3c6119e8 /devel/boehm-gc/files/patch-ac | |
parent | 2e30ece14ba43d29679fe3064c915ca01f210be3 (diff) | |
download | ports-4e8a5d94d4d3206d85fff63ea5895c0b21a1775f.tar.gz ports-4e8a5d94d4d3206d85fff63ea5895c0b21a1775f.zip |
Notes
Diffstat (limited to 'devel/boehm-gc/files/patch-ac')
-rw-r--r-- | devel/boehm-gc/files/patch-ac | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/devel/boehm-gc/files/patch-ac b/devel/boehm-gc/files/patch-ac index 621e0519eea9..cdf66cc9d107 100644 --- a/devel/boehm-gc/files/patch-ac +++ b/devel/boehm-gc/files/patch-ac @@ -1,25 +1,21 @@ ---- 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 @@ +--- 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 --# if !defined(bool) -- typedef int bool; +# ifdef __cplusplus -+# define TRUE true -+# define FALSE false ++# 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 + # 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 + # define TRUE 1 + # define FALSE 0 ++# endif typedef char * ptr_t; /* A generic pointer to which we can add */ /* byte displacements. */ |