24 #ifndef __CLRX_CONFIG_H__ 25 #define __CLRX_CONFIG_H__ 28 #define CLRX_VERSION "0.1.7" 31 #define CLRX_MAJOR_VERSION 0 32 #define CLRX_MINOR_VERSION 1 34 #define CLRX_MICRO_VERSION 7 36 #define CLRX_REVISION "" 45 #define HAVE_CALL_ONCE 51 #if defined(__i386__) || defined(__i486__) || defined(__i586__) || defined(__i686__) || \ 52 defined(_M_IX86) || defined(__i386) || defined(_X86_) 53 # define HAVE_ARCH_INTEL 1 54 # define HAVE_ARCH_X86 1 58 #if defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__x86_64) || \ 59 defined(_M_X64) || defined(_M_AMD64) 60 # define HAVE_ARCH_INTEL 1 61 # define HAVE_ARCH_X86_64 1 65 #if defined(__powerpc__) || defined(__powerpc) || defined(_M_PPC) || \ 66 defined(__POWERPC__) || defined(__ppc) 67 # define HAVE_ARCH_POWERPC 1 68 # if defined(__powerpc64__) || defined(__ppc64__) || _M_PPC>=620 || defined(__arch64__) 69 # define HAVE_ARCH_POWERPC64 1 72 # define HAVE_ARCH_POWERPC32 1 77 #if defined(__arm__) || defined(__thumb__) || defined(_M_ARM) || defined(_M_ARMT) 78 # define HAVE_ARCH_ARM 1 79 # if defined(__aarch64__) 80 # define HAVE_ARCH_ARM64 1 83 # define HAVE_ARCH_ARM32 1 88 #if !defined(HAVE_ARCH_ARM) && defined(__aarch64__) 89 # define HAVE_ARCH_ARM 1 90 # define HAVE_ARCH_ARM64 1 95 #if defined(__BIG_ENDIAN__) || defined(__ARMEB__) || defined(__THUMBEB__) || \ 96 defined(__AARCH64EB__) || defined(_MIPSEB) || defined(__MIPSEB__) || \ 98 # define HAVE_BIG_ENDIAN 1 100 # define HAVE_LITTLE_ENDIAN 1 104 #if !defined(HAVE_32BIT) && !defined(HAVE_64BIT) 106 # define HAVE_64BIT 1 109 # define HAVE_32BIT 1 114 #if !defined(HAVE_32BIT) && !defined(HAVE_64BIT) 115 # if defined(__SIZEOF_POINTER__) && __SIZEOF_POINTER__==8 116 # define HAVE_64BIT 1 118 # define HAVE_32BIT 1 128 #if defined(__linux__) || defined(linux) 129 # define HAVE_LINUX 1 132 #if defined(_WIN32) || defined(_WIN64) || defined(__WINDOWS__) || defined(__WIN32__) 133 # define HAVE_WINDOWS 1 136 #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \ 137 defined(__bsdi__) || defined(__DragonFly__) 141 #if defined(__MINGW32__) || defined(__MINGW64__) 142 # define HAVE_MINGW 1 148 # define SYSTEM_CONFIG_PATH "/etc" 152 # define DEFAULT_AMDOCLNAME "libamdocl32.so" 155 # define DEFAULT_AMDOCLNAME "libamdocl64.so" 160 # define CLRX_NATIVE_DIR_SEP '/' 161 # define CLRX_NATIVE_DIR_SEP_S "/" 165 # define CLRX_ALT_DIR_SEP '\\' 166 # define CLRX_ALT_DIR_SEP_S "\\" 170 # define SYSTEM_CONFIG_PATH "c:\\etc" 174 # define DEFAULT_AMDOCLNAME "amdocl.dll" 177 # define DEFAULT_AMDOCLNAME "amdocl64.dll" 182 # define CLRX_NATIVE_DIR_SEP '\\' 183 # define CLRX_NATIVE_DIR_SEP_S "\\" 187 # define CLRX_ALT_DIR_SEP '/' 188 # define CLRX_ALT_DIR_SEP_S "/" 192 # define strcasecmp(A,B) _stricmp(A,B) 193 # define strncasecmp(A,B,N) _strnicmp(A,B,N) 194 # if defined(_MSC_VER) && _MSC_VER<1900 195 # define snprintf(B,N,F,...) _snprintf(B,N,F,__VA_ARGS__) 202 #if __GNUC__ >= 4 && !defined(__CYGWIN__) && !defined(HAVE_MINGW) 203 # define CLRX_INTERNAL __attribute__((visibility("hidden"))) 205 # define CLRX_INTERNAL 234 typedef signed long long ssize_t;
235 # define SSIZE_MIN (-9223372036854775808LL) 236 # define SSIZE_MAX (9223372036854775807LL) 238 typedef signed long ssize_t;
239 # define SSIZE_MIN (-2147483648LL) 240 # define SSIZE_MAX (2147483647LL) 245 #if __cplusplus < 201103L || (__GNUC__ == 4 && __GNUC_MINOR__ < 8) || defined(HAVE_MINGW) 246 # ifndef __STDC_LIMIT_MACROS 247 # define __STDC_LIMIT_MACROS 1 249 # ifndef __STDC_FORMAT_MACROS 250 # define __STDC_FORMAT_MACROS 1 signed short cxshort
signed short
Definition: Config.h:217
signed char cxchar
signed character (signed byte)
Definition: Config.h:211
signed long cxlong
signed long
Definition: Config.h:225
unsigned char cxuchar
unsigned character (unsigned byte)
Definition: Config.h:213
unsigned long long cxullong
unsigned long long
Definition: Config.h:231
unsigned char cxbyte
unsigned byte
Definition: Config.h:215
unsigned int cxuint
unsigned int
Definition: Config.h:223
unsigned short cxushort
unsigned short
Definition: Config.h:219
unsigned long cxulong
unsigned long
Definition: Config.h:227
signed long long cxllong
signed long long
Definition: Config.h:229
signed int cxint
signed int
Definition: Config.h:221