mirror of
https://github.com/lax1dude/unsafe-memcpy-for-java.git
synced 2024-11-24 06:26:06 -08:00
fix filename
This commit is contained in:
parent
f4917d435a
commit
42dc2db970
BIN
UnsafeMemcpy.jar
BIN
UnsafeMemcpy.jar
Binary file not shown.
|
@ -40,7 +40,11 @@ public class UnsafeUtils {
|
|||
public static void loadNatives() {
|
||||
if(!hasLoadedNatives) {
|
||||
hasLoadedNatives = true;
|
||||
System.loadLibrary("UnsafeMemcpy");
|
||||
if(System.getProperty("os.name").toLowerCase().contains("windows")) {
|
||||
System.loadLibrary("UnsafeMemcpy");
|
||||
}else {
|
||||
System.loadLibrary("unsafememcpy");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user