Redeffined linux -> __linux__ and __x86_64 -> __x86_64__; should be backported to jdk11 and jdk8

This commit is contained in:
Jiri 2020-12-08 13:38:34 +01:00 committed by Jiri Vanek
parent cf132698ce
commit 30e2db7344

View File

@ -100,7 +100,7 @@ diff -r 25e94aa812b2 src/share/bin/main.c
#include "jli_util.h"
#include "jni.h"
+#if defined(linux) && defined(__x86_64)
+#if defined(__linux__) && defined(__x86_64__)
+#include "alt_main.h"
+#endif
+