diff options
author | Alexandre Oliva <oliva@dcc.unicamp.br> | 1999-08-12 17:31:34 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 1999-08-12 17:31:34 +0000 |
commit | cb339d0278191e55476237128331cf75a6970352 (patch) | |
tree | 882e3ed8b1187a517591e1bf50e1def84fe1f1f6 /libjava | |
parent | 402fd87362384df794bcac3cff254a6f5aa86f14 (diff) | |
download | gcc-cb339d0278191e55476237128331cf75a6970352.zip gcc-cb339d0278191e55476237128331cf75a6970352.tar.gz gcc-cb339d0278191e55476237128331cf75a6970352.tar.bz2 |
javaprims.h (TRUE, FALSE): Redefine as themselves.
1999-08-12 Alexandre Oliva <oliva@dcc.unicamp.br>
* include/javaprims.h (TRUE, FALSE): Redefine as themselves.
From-SVN: r28689
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 4 | ||||
-rw-r--r-- | libjava/include/javaprims.h | 8 |
2 files changed, 12 insertions, 0 deletions
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 <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 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" |