Permalink
Browse files

Merge pull request #622 from sappo/master

Problem: Out of sync with zproject
  • Loading branch information...
bluca committed Dec 17, 2018
2 parents 44cbcad + 7f8a88d commit beba14b02a1ad98f7463aefa91b4476a35fb0e9b
@@ -11,11 +11,14 @@

public class Zyre implements AutoCloseable{
static {
try {
NativeLoader.loadLibrary("zyrejni");
}
catch (Exception e) {
System.exit (-1);
if (System.getProperty("java.vm.vendor").contains("Android")) {
System.loadLibrary("zyrejni");
} else {
try {
NativeLoader.loadLibrary("zyrejni");
} catch (Exception e) {
System.exit (-1);
}
}
}
public long self;
@@ -11,11 +11,14 @@

public class ZyreEvent implements AutoCloseable{
static {
try {
NativeLoader.loadLibrary("zyrejni");
}
catch (Exception e) {
System.exit (-1);
if (System.getProperty("java.vm.vendor").contains("Android")) {
System.loadLibrary("zyrejni");
} else {
try {
NativeLoader.loadLibrary("zyrejni");
} catch (Exception e) {
System.exit (-1);
}
}
}
public long self;

0 comments on commit beba14b

Please sign in to comment.