diff --git a/libjava/ChangeLog b/libjava/ChangeLog index a6d1dadab30..064ef338270 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,7 @@ +2004-03-19 Rainer Orth + + * verify.cc: Undef PC. + 2004-03-18 Michael Koch * java/nio/channels/spi/AbstractSelectableChannel.java diff --git a/libjava/verify.cc b/libjava/verify.cc index 236bc4dcebf..7ba2ba4daee 100644 --- a/libjava/verify.cc +++ b/libjava/verify.cc @@ -19,6 +19,11 @@ details. */ #include #include +// On Solaris 10/x86, indirectly includes , which +// defines PC since g++ predefines __EXTENSIONS__. Undef here to avoid clash +// with PC member of class _Jv_BytecodeVerifier below. +#undef PC + #ifdef INTERPRETER #include