We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22202a0 commit 2ff29ebCopy full SHA for 2ff29eb
1 file changed
src/com/sun/jna/Platform.java
@@ -129,8 +129,9 @@ else if (osName.equalsIgnoreCase("netbsd")) {
129
RO_FIELDS = osType != WINDOWSCE;
130
C_LIBRARY_NAME = osType == WINDOWS ? "msvcrt" : osType == WINDOWSCE ? "coredll" : "c";
131
MATH_LIBRARY_NAME = osType == WINDOWS ? "msvcrt" : osType == WINDOWSCE ? "coredll" : "m";
132
- HAS_DLL_CALLBACKS = osType == WINDOWS;
133
ARCH = getCanonicalArchitecture(System.getProperty("os.arch"), osType);
+ // Windows aarch64 callbacks disabled via ASMFN_OFF (no mingw support)
134
+ HAS_DLL_CALLBACKS = osType == WINDOWS && !ARCH.startsWith("aarch");
135
RESOURCE_PREFIX = getNativeLibraryResourcePrefix();
136
}
137
private Platform() { }
0 commit comments