* jbigi: Add support for solaris

This commit is contained in:
zzz
2011-05-31 20:21:51 +00:00
parent 455b5529b4
commit 3677cadcca
3 changed files with 5 additions and 1 deletions

View File

@ -137,6 +137,7 @@ public class NativeBigInteger extends BigInteger {
private static final boolean _isMac = System.getProperty("os.name").startsWith("Mac");
private static final boolean _isLinux = System.getProperty("os.name").toLowerCase().contains("linux");
private static final boolean _isFreebsd = System.getProperty("os.name").toLowerCase().contains("freebsd");
private static final boolean _isSunos = System.getProperty("os.name").toLowerCase().contains("sunos");
/*
* This isn't always correct.
@ -672,6 +673,8 @@ public class NativeBigInteger extends BigInteger {
return "jbigi-osx-";
if(_isOS2)
return "jbigi-os2-";
if(_isSunos)
return "jbigi-solaris-";
//throw new RuntimeException("Dont know jbigi library name for os type '"+System.getProperty("os.name")+"'");
// use linux as the default, don't throw exception
return "jbigi-linux-";

View File

@ -1,5 +1,6 @@
2011-05-31 zzz
* HTTP Proxy: Don't send redirect for POST (thx kytv)
* jbigi: Add support for solaris
2011-05-30 zzz
* I2CP:

View File

@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 13;
public final static long BUILD = 14;
/** for example "-test" */
public final static String EXTRA = "";