From cb339d0278191e55476237128331cf75a6970352 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Thu, 12 Aug 1999 17:31:34 +0000 Subject: javaprims.h (TRUE, FALSE): Redefine as themselves. 1999-08-12 Alexandre Oliva * include/javaprims.h (TRUE, FALSE): Redefine as themselves. From-SVN: r28689 --- libjava/ChangeLog | 4 ++++ libjava/include/javaprims.h | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index adc49cd..bcaa5c4 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,7 @@ +1999-08-12 Alexandre Oliva + + * include/javaprims.h (TRUE, FALSE): Redefine as themselves. + 1999-08-11 Bryce McKinlay * java/util/BitSet.java (set, clear, hashCode): specify "1" constant diff --git a/libjava/include/javaprims.h b/libjava/include/javaprims.h index ef87519..5cede60 100644 --- a/libjava/include/javaprims.h +++ b/libjava/include/javaprims.h @@ -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" -- cgit v1.1