java-1.8.0-openjdk/aarch64-ifdefbugfix.patch

13 lines
548 B
Diff

diff --git a/src/share/vm/interpreter/abstractInterpreter.hpp b/src/share/vm/interpreter/abstractInterpreter.hpp
--- openjdk/hotspot/src/share/vm/interpreter/abstractInterpreter.hpp
+++ openjdk/hotspot/src/share/vm/interpreter/abstractInterpreter.hpp
@@ -34,7 +34,7 @@
# include INTERP_MASM_MD_HPP
#elif defined TARGET_ARCH_x86
# include "interp_masm_x86.hpp"
-#elif TARGET_ARCH_MODEL_aarch64
+#elif defined TARGET_ARCH_MODEL_aarch64
# include "interp_masm_aarch64.hpp"
#elif defined TARGET_ARCH_MODEL_sparc
# include "interp_masm_sparc.hpp"