aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-10-04 02:50:35 +0000
committerJohn Gilmore <gnu@cygnus>1991-10-04 02:50:35 +0000
commitf7cfc4a6a9dfbcae9de5fb9b770cc7bccb5cfb8c (patch)
treedddce14e2f7199653a3e9daf2933cd9c5b4a4be4
parent278bf2c0c3d80c3a8cb804ef39f9b04af4aebe4b (diff)
downloadgdb-f7cfc4a6a9dfbcae9de5fb9b770cc7bccb5cfb8c.zip
gdb-f7cfc4a6a9dfbcae9de5fb9b770cc7bccb5cfb8c.tar.gz
gdb-f7cfc4a6a9dfbcae9de5fb9b770cc7bccb5cfb8c.tar.bz2
* bfd-in.h: enum boolean => enum bfd_boolean for SVR4. Gumby's
prediction is vindicated!
-rw-r--r--include/bfd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/bfd.h b/include/bfd.h
index 97c1895..b76c5df 100644
--- a/include/bfd.h
+++ b/include/bfd.h
@@ -61,7 +61,9 @@ typedef struct _bfd bfd;
and false on failure (unless they're a predicate). -- bfd.doc */
/* I'm sure this is going to break something and someone is going to
force me to change it. */
-typedef enum boolean {false, true} boolean;
+/* typedef enum boolean {false, true} boolean; */
+/* Yup, SVR4 has a "typedef enum boolean" in <sys/types.h> -fnf */
+typedef enum bfd_boolean {false, true} boolean;
/* Try to avoid breaking stuff */
typedef long int file_ptr;