* bfd-in.h: enum boolean => enum bfd_boolean for SVR4. Gumby's
authorJohn Gilmore <gnu@cygnus>
Fri, 4 Oct 1991 02:50:35 +0000 (02:50 +0000)
committerJohn Gilmore <gnu@cygnus>
Fri, 4 Oct 1991 02:50:35 +0000 (02:50 +0000)
prediction is vindicated!

include/bfd.h

index 97c1895..b76c5df 100644 (file)
@@ -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;