diff options
Diffstat (limited to 'java/openjdk7/files')
-rw-r--r-- | java/openjdk7/files/patch-hotspot_src_cpu_x86_vm_jni__x86.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/java/openjdk7/files/patch-hotspot_src_cpu_x86_vm_jni__x86.h b/java/openjdk7/files/patch-hotspot_src_cpu_x86_vm_jni__x86.h deleted file mode 100644 index dbdba09700d9..000000000000 --- a/java/openjdk7/files/patch-hotspot_src_cpu_x86_vm_jni__x86.h +++ /dev/null @@ -1,14 +0,0 @@ ---- hotspot/src/cpu/x86/vm/jni_x86.h.orig 2020-03-01 18:10:20 UTC -+++ hotspot/src/cpu/x86/vm/jni_x86.h -@@ -28,7 +28,10 @@ - - #if defined(SOLARIS) || defined(LINUX) || defined(_ALLBSD_SOURCE) - --#if defined(__GNUC__) && (__GNUC__ > 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ > 2) -+#ifndef __has_attribute -+ #define __has_attribute(x) 0 -+#endif -+#if (defined(__GNUC__) && ((__GNUC__ > 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ > 2))) || __has_attribute(visibility) - #define JNIEXPORT __attribute__((visibility("default"))) - #define JNIIMPORT __attribute__((visibility("default"))) - #else |