public class IsDefined extends Object
Fold
so they can be used to bracket os-dependent conditional compilation.
The use of Fold
does not support cross-compilation.Constructor and Description |
---|
IsDefined() |
Modifier and Type | Method and Description |
---|---|
static boolean |
__APPLE__()
From 'gcc -dM -E empty.h'.
|
static boolean |
__linux__()
From 'gcc -dM -E empty.h'.
|
static boolean |
__OpenBSD__() |
static boolean |
__solaris__() |
static boolean |
_AIX() |
static boolean |
_ALLBSD_SOURCE()
This is defined in ./common/autoconf/generated-configure.sh in the OpenJDK sources.
|
static boolean |
if_LIFNAMSIZ() |
static boolean |
ip_IPTOS_PREC_MASK() |
static boolean |
ip_IPTOS_TOS_MASK() |
static boolean |
isDarwin() |
static boolean |
isLinux() |
static boolean |
LINUX()
This is defined in ./common/autoconf/generated-configure.sh in the OpenJDK sources.
|
static boolean |
MACOSX()
This is defined in ./common/autoconf/generated-configure.sh in the OpenJDK sources.
|
static boolean |
socket_AF_INET6() |
static boolean |
socket_AF_UNIX() |
static boolean |
sysctl_KIPC_MAXSOCKBUF() |
static boolean |
WIN32() |
public static final boolean isDarwin()
public static final boolean isLinux()
public static final boolean __solaris__()
public static final boolean __OpenBSD__()
public static final boolean WIN32()
public static final boolean _AIX()
public static boolean socket_AF_INET6()
public static boolean socket_AF_UNIX()
public static boolean __APPLE__()
public static boolean MACOSX()
public static boolean _ALLBSD_SOURCE()
public static boolean sysctl_KIPC_MAXSOCKBUF()
public static boolean __linux__()
public static boolean LINUX()
public static boolean ip_IPTOS_TOS_MASK()
public static boolean ip_IPTOS_PREC_MASK()
public static boolean if_LIFNAMSIZ()