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
This commit is contained in:
Alexandre Oliva 1999-08-12 17:31:34 +00:00 committed by Tom Tromey
parent 402fd87362
commit cb339d0278
2 changed files with 12 additions and 0 deletions

View 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

View 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"