mirror of
https://github.com/corda/corda.git
synced 2025-06-19 07:38:22 +00:00
add support for FreeBSD
This commit is contained in:
committed by
Joel Dice
parent
57e318bbec
commit
c1aa0b46b5
@ -578,6 +578,8 @@ Java_java_lang_System_getProperty(JNIEnv* e, jclass, jstring name,
|
||||
} else if (strcmp(chars, "os.name") == 0) {
|
||||
#ifdef __APPLE__
|
||||
r = e->NewStringUTF("Mac OS X");
|
||||
#elif defined __FreeBSD__
|
||||
r = e->NewStringUTF("FreeBSD");
|
||||
#else
|
||||
r = e->NewStringUTF("Linux");
|
||||
#endif
|
||||
|
@ -31,6 +31,8 @@
|
||||
# include <errno.h>
|
||||
# include <netdb.h>
|
||||
# include <sys/select.h>
|
||||
# include <arpa/inet.h>
|
||||
# include <netinet/in.h>
|
||||
# include <netinet/ip.h>
|
||||
# include <netinet/tcp.h>
|
||||
# include <sys/socket.h>
|
||||
|
Reference in New Issue
Block a user