diff --git a/src/boot-javahome.cpp b/src/boot-javahome.cpp index 8f32d545c7..3ea90b33f8 100644 --- a/src/boot-javahome.cpp +++ b/src/boot-javahome.cpp @@ -18,7 +18,7 @@ typedef unsigned char uint8_t; #ifdef BOOT_JAVAHOME -#if (defined __MINGW32__) || (defined _MSC_VER) +#if (! defined __x86_64__) && ((defined __MINGW32__) || (defined _MSC_VER)) # define EXPORT __declspec(dllexport) # define SYMBOL(x) binary_javahome_jar_##x #else