fix filename

This commit is contained in:
lax1dude 2024-04-10 20:19:33 -07:00
parent f4917d435a
commit 42dc2db970
2 changed files with 5 additions and 1 deletions

Binary file not shown.

View File

@ -40,7 +40,11 @@ public class UnsafeUtils {
public static void loadNatives() { public static void loadNatives() {
if(!hasLoadedNatives) { if(!hasLoadedNatives) {
hasLoadedNatives = true; hasLoadedNatives = true;
if(System.getProperty("os.name").toLowerCase().contains("windows")) {
System.loadLibrary("UnsafeMemcpy"); System.loadLibrary("UnsafeMemcpy");
}else {
System.loadLibrary("unsafememcpy");
}
} }
} }