changeset 49167:c2cd23e1d9cb

8198275: AIX build broken after latest whitebox.cpp changes Reviewed-by: mdoerr
author mbaesken
date Fri, 16 Feb 2018 11:33:13 +0100
parents 513e98643998
children 0b65c64c9db9
files src/hotspot/share/prims/whitebox.cpp src/hotspot/share/utilities/elfFile.hpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/prims/whitebox.cpp	Sun Feb 25 23:02:45 2018 -0800
+++ b/src/hotspot/share/prims/whitebox.cpp	Fri Feb 16 11:33:13 2018 +0100
@@ -1914,7 +1914,7 @@
 
 // Elf decoder
 WB_ENTRY(void, WB_DisableElfSectionCache(JNIEnv* env))
-#if !defined(_WINDOWS) && !defined(__APPLE__)
+#if !defined(_WINDOWS) && !defined(__APPLE__) && !defined(_AIX)
   ElfFile::_do_not_cache_elf_section = true;
 #endif
 WB_END
--- a/src/hotspot/share/utilities/elfFile.hpp	Sun Feb 25 23:02:45 2018 -0800
+++ b/src/hotspot/share/utilities/elfFile.hpp	Fri Feb 16 11:33:13 2018 +0100
@@ -25,7 +25,7 @@
 #ifndef SHARE_VM_UTILITIES_ELF_FILE_HPP
 #define SHARE_VM_UTILITIES_ELF_FILE_HPP
 
-#if !defined(_WINDOWS) && !defined(__APPLE__)
+#if !defined(_WINDOWS) && !defined(__APPLE__) && !defined(_AIX)
 
 #if defined(__OpenBSD__)
 #include <sys/exec_elf.h>