javaprims.h (TRUE, FALSE): Redefine as themselves.
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Thu, 12 Aug 1999 17:31:34 +0000 (17:31 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Thu, 12 Aug 1999 17:31:34 +0000 (17:31 +0000)
1999-08-12  Alexandre Oliva  <oliva@dcc.unicamp.br>

* include/javaprims.h (TRUE, FALSE): Redefine as themselves.

From-SVN: r28689

libjava/ChangeLog
libjava/include/javaprims.h

index adc49cd2aad466f3bc16ee1adbf6cab44b37f4eb..bcaa5c41bb056c52ebf2e5e703d99bafb55adf31 100644 (file)
@@ -1,3 +1,7 @@
+1999-08-12  Alexandre Oliva  <oliva@dcc.unicamp.br>
+
+       * include/javaprims.h (TRUE, FALSE): Redefine as themselves.
+
 1999-08-11  Bryce McKinlay  <bryce@albatross.co.nz>
 
        * java/util/BitSet.java (set, clear, hashCode): specify "1" constant
index ef87519d9c511fe86538b6a89d2e59fa2dd1d531..5cede60fc65ed88885db04cea1ea7f54b67bcbfb 100644 (file)
@@ -11,6 +11,14 @@ details.  */
 #ifndef __JAVAPRIMS_H__
 #define __JAVAPRIMS_H__
 
+// FIXME: this is a hack until we get a proper gcjh.
+// It is needed to work around system header files that define TRUE
+// and FALSE.
+#undef TRUE
+#define TRUE TRUE
+#undef FALSE
+#define FALSE FALSE
+
 // To force selection of correct types that will mangle consistently
 // across platforms.
 extern "Java"