24 #ifndef __CLRX_CONFIG_H__ 25 #define __CLRX_CONFIG_H__ 28 #define CLRX_VERSION "0.1.8" 31 #define CLRX_MAJOR_VERSION 0 32 #define CLRX_MINOR_VERSION 1 34 #define CLRX_MICRO_VERSION 8 36 #define CLRX_REVISION "" 38 #define CLRX_VERSION_NUMBER (CLRX_MAJOR_VERSION*10000U + CLRX_MINOR_VERSION*100U + \ 48 #define HAVE_CALL_ONCE 54 #if defined(__i386__) || defined(__i486__) || defined(__i586__) || defined(__i686__) || \ 55 defined(_M_IX86) || defined(__i386) || defined(_X86_) 56 # define HAVE_ARCH_INTEL 1 57 # define HAVE_ARCH_X86 1 61 #if defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__x86_64) || \ 62 defined(_M_X64) || defined(_M_AMD64) 63 # define HAVE_ARCH_INTEL 1 64 # define HAVE_ARCH_X86_64 1 68 #if defined(__powerpc__) || defined(__powerpc) || defined(_M_PPC) || \ 69 defined(__POWERPC__) || defined(__ppc) 70 # define HAVE_ARCH_POWERPC 1 71 # if defined(__powerpc64__) || defined(__ppc64__) || _M_PPC>=620 || defined(__arch64__) 72 # define HAVE_ARCH_POWERPC64 1 75 # define HAVE_ARCH_POWERPC32 1 80 #if defined(__arm__) || defined(__thumb__) || defined(_M_ARM) || defined(_M_ARMT) 81 # define HAVE_ARCH_ARM 1 82 # if defined(__aarch64__) 83 # define HAVE_ARCH_ARM64 1 86 # define HAVE_ARCH_ARM32 1 91 #if !defined(HAVE_ARCH_ARM) && defined(__aarch64__) 92 # define HAVE_ARCH_ARM 1 93 # define HAVE_ARCH_ARM64 1 97 #if defined(__sparc__) || defined(__sparc) 98 # define HAVE_ARCH_SPARC 1 99 # if defined(__sparc_v9__) || defined(__sparcv9) 100 # define HAVE_ARCH_SPARC64 1 101 # define HAVE_64BIT 1 103 # define HAVE_ARCH_SPARC32 1 104 # define HAVE_32BIT 1 109 #if defined(__BIG_ENDIAN__) || defined(__ARMEB__) || defined(__THUMBEB__) || \ 110 defined(__AARCH64EB__) || defined(_MIPSEB) || defined(__MIPSEB__) || \ 112 # define HAVE_BIG_ENDIAN 1 114 # define HAVE_LITTLE_ENDIAN 1 118 #if !defined(HAVE_32BIT) && !defined(HAVE_64BIT) 120 # define HAVE_64BIT 1 123 # define HAVE_32BIT 1 128 #if !defined(HAVE_32BIT) && !defined(HAVE_64BIT) 129 # if defined(__SIZEOF_POINTER__) && __SIZEOF_POINTER__==8 130 # define HAVE_64BIT 1 132 # define HAVE_32BIT 1 142 #if defined(__linux__) || defined(linux) 143 # define HAVE_LINUX 1 146 #if defined(_WIN32) || defined(_WIN64) || defined(__WINDOWS__) || defined(__WIN32__) 147 # define HAVE_WINDOWS 1 150 #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \ 151 defined(__bsdi__) || defined(__DragonFly__) 155 #if defined(__MINGW32__) || defined(__MINGW64__) 156 # define HAVE_MINGW 1 162 # define SYSTEM_CONFIG_PATH "/etc" 166 # define DEFAULT_AMDOCLNAME "libamdocl32.so" 169 # define DEFAULT_AMDOCLNAME "libamdocl64.so" 174 # define CLRX_NATIVE_DIR_SEP '/' 175 # define CLRX_NATIVE_DIR_SEP_S "/" 179 # define CLRX_ALT_DIR_SEP '\\' 180 # define CLRX_ALT_DIR_SEP_S "\\" 184 # define SYSTEM_CONFIG_PATH "c:\\etc" 188 # define DEFAULT_AMDOCLNAME "amdocl.dll" 191 # define DEFAULT_AMDOCLNAME "amdocl64.dll" 196 # define CLRX_NATIVE_DIR_SEP '\\' 197 # define CLRX_NATIVE_DIR_SEP_S "\\" 201 # define CLRX_ALT_DIR_SEP '/' 202 # define CLRX_ALT_DIR_SEP_S "/" 206 # define strcasecmp(A,B) _stricmp(A,B) 207 # define strncasecmp(A,B,N) _strnicmp(A,B,N) 208 # if defined(_MSC_VER) && _MSC_VER<1900 209 # define snprintf(B,N,F,...) _snprintf(B,N,F,__VA_ARGS__) 216 #if __GNUC__ >= 4 && !defined(__CYGWIN__) && !defined(HAVE_MINGW) 217 # define CLRX_INTERNAL __attribute__((visibility("hidden"))) 219 # define CLRX_INTERNAL 248 typedef signed long long ssize_t;
249 # define SSIZE_MIN (-9223372036854775808LL) 250 # define SSIZE_MAX (9223372036854775807LL) 252 typedef signed long ssize_t;
253 # define SSIZE_MIN (-2147483648LL) 254 # define SSIZE_MAX (2147483647LL) 259 #if __cplusplus < 201103L || (__GNUC__ == 4 && __GNUC_MINOR__ < 8) || defined(HAVE_MINGW) 260 # ifndef __STDC_LIMIT_MACROS 261 # define __STDC_LIMIT_MACROS 1 263 # ifndef __STDC_FORMAT_MACROS 264 # define __STDC_FORMAT_MACROS 1 signed short cxshort
signed short
Definition: Config.h:231
signed char cxchar
signed character (signed byte)
Definition: Config.h:225
signed long cxlong
signed long
Definition: Config.h:239
unsigned char cxuchar
unsigned character (unsigned byte)
Definition: Config.h:227
unsigned long long cxullong
unsigned long long
Definition: Config.h:245
unsigned char cxbyte
unsigned byte
Definition: Config.h:229
unsigned int cxuint
unsigned int
Definition: Config.h:237
unsigned short cxushort
unsigned short
Definition: Config.h:233
unsigned long cxulong
unsigned long
Definition: Config.h:241
signed long long cxllong
signed long long
Definition: Config.h:243
signed int cxint
signed int
Definition: Config.h:235