30 lines
923 B
Plaintext
30 lines
923 B
Plaintext
$OpenBSD: patch-general_h,v 1.1 2004/01/26 12:46:20 naddy Exp $
|
|
--- general.h.orig 2004-01-26 13:28:32.000000000 +0100
|
|
+++ general.h 2004-01-26 13:28:43.000000000 +0100
|
|
@@ -18,25 +18,6 @@
|
|
by any .h files unless there is a REALLY good reason. */
|
|
|
|
|
|
-#ifdef __GNUC__
|
|
- /* Grab _G_HAVE_BOOL, if possible. */
|
|
-#include <_G_config.h>
|
|
-#endif
|
|
-
|
|
-#ifndef _G_HAVE_BOOL
|
|
- /* Every GNU system has _G_config.h, I believe, which tells us
|
|
- whether or not the bool define exists. However, for simplicity,
|
|
- let's just redefine them all. The following lines are directly
|
|
- from g++-include's bool.h file. bgrayson */
|
|
-
|
|
-#undef FALSE
|
|
-#undef false
|
|
-#undef TRUE
|
|
-#undef true
|
|
-enum bool { FALSE = 0, false = 0, TRUE = 1, true = 1 };
|
|
-#endif
|
|
-
|
|
-
|
|
/* Let's add a handy macro for inserting the CVS id string into the
|
|
.cc (and hence .o) files, so that 'ident' can be used on the
|
|
executable. */
|