diff options
author | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2004-03-19 17:38:23 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2004-03-19 17:38:23 +0000 |
commit | 165c9b0468d5386d22855dd5f70340dad2aa8f78 (patch) | |
tree | fbabe86a4fb29f6a4398f2316d71c78592a888d0 /libjava/verify.cc | |
parent | 59d35672142c7b555a1722f57e853fb1dbc51e84 (diff) | |
download | gcc-165c9b0468d5386d22855dd5f70340dad2aa8f78.tar.gz |
* verify.cc: Undef PC.
From-SVN: r79690
Diffstat (limited to 'libjava/verify.cc')
-rw-r--r-- | libjava/verify.cc | 5 |
1 files changed, 5 insertions, 0 deletions
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 <java-insns.h> #include <java-interp.h> +// On Solaris 10/x86, <signal.h> indirectly includes <ia32/sys/reg.h>, 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 <java/lang/Class.h> |