Class Defines


  • public class Defines
    extends Object
    get the defines with gcc: create an empty file c.c run gcc -dD -dI -E c.c > c.txt c.txt contains all macros. add an #include <headerFileName.h> to get the defines for that header.
    Author:
    aploese
    • Field Detail

      • _LARGEFILE_SOURCE

        @Define
        public static final IntDefine _LARGEFILE_SOURCE
        maybe defined in jnhw-posix.h
      • _LARGEFILE64_SOURCE

        @Define
        public static final IntDefine _LARGEFILE64_SOURCE
        maybe defined in jnhw-posix.h _LARGEFILE64_SOURCE was defined at native compile time. If _LARGEFILE64_SOURCE was defined then all largefile64 functions (i.e. open64, read64, fseek64, ...) are available. time of the native code.
      • __FreeBSD__

        @Define
        public static final IntDefine __FreeBSD__
        the major version at compile time
      • __WORDSIZE

        @Define
        public static final IntDefine __WORDSIZE
        Its defined at different places: glibc: bits/wordsize.h FreeBSD: sys/stdint.h but not at OpenBSD so we keep his here for the moment. _POSIX_C_SOURCE
      • __TIMESIZE

        @Define
        public static final IntDefine __TIMESIZE
        size of time_t glibc bits/timesize.h
      • __SIZEOF_LONG__

        @Define
        public static final int __SIZEOF_LONG__
      • __SIZEOF_POINTER__

        @Define
        public static final int __SIZEOF_POINTER__
      • __BIGGEST_ALIGNMENT__

        @Define
        public static final int __BIGGEST_ALIGNMENT__
        The biggest alignemnt used. If sizeof(struct) is bigger than __BIGGEST_ALIGNMENT__ use an address that is a multiple of __BIGGEST_ALIGNMENT__ as baseaddress.
      • __ORDER_LITTLE_ENDIAN__

        @Define
        public static final int __ORDER_LITTLE_ENDIAN__
      • __ORDER_BIG_ENDIAN__

        @Define
        public static final int __ORDER_BIG_ENDIAN__
      • __ORDER_PDP_ENDIAN__

        @Define
        public static final int __ORDER_PDP_ENDIAN__
      • __BYTE_ORDER__

        @Define
        public static final int __BYTE_ORDER__
      • _FILE_OFFSET_BITS

        @Define
        public static final IntDefine _FILE_OFFSET_BITS
        maybe defined in jnhw-posix.h
      • _POSIX_C_SOURCE

        @Define
        public static final IntDefine _POSIX_C_SOURCE
        maybe defined in jnhw-posix.h
      • _XOPEN_SOURCE

        @Define
        public static final IntDefine _XOPEN_SOURCE
        maybe defined in jnhw-posix.h
      • _XOPEN_SOURCE_EXTENDED

        @Define
        public static final IntDefine _XOPEN_SOURCE_EXTENDED
        maybe defined in jnhw-posix.h
    • Constructor Detail

      • Defines

        public Defines()