24 #ifndef __CLRX_CONFIG_H__ 25 #define __CLRX_CONFIG_H__ 28 #define CLRX_VERSION "0.1.5" 31 #define CLRX_MAJOR_VERSION 0 32 #define CLRX_MINOR_VERSION 1 34 #define CLRX_MICRO_VERSION 5 36 #define CLRX_REVISION "" 45 #define HAVE_CALL_ONCE 49 #if defined(__i386__) || defined(__i486__) || defined(__i586__) || defined(__i686__) || \ 50 defined(_M_IX86) || defined(__i386) || defined(_X86_) 51 # define HAVE_ARCH_INTEL 1 52 # define HAVE_ARCH_X86 1 56 #if defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__x86_64) || \ 57 defined(_M_X64) || defined(_M_AMD64) 58 # define HAVE_ARCH_INTEL 1 59 # define HAVE_ARCH_X86_64 1 63 #if defined(__powerpc__) || defined(__powerpc) || defined(_M_PPC) || \ 64 defined(__POWERPC__) || defined(__ppc) 65 # define HAVE_ARCH_POWERPC 1 66 # if defined(__powerpc64__) || defined(__ppc64__) || _M_PPC>=620 || defined(__arch64__) 67 # define HAVE_ARCH_POWERPC64 1 70 # define HAVE_ARCH_POWERPC32 1 75 #if defined(__arm__) || defined(__thumb__) || defined(_M_ARM) || defined(_M_ARMT) 76 # define HAVE_ARCH_ARM 1 77 # if defined(__aarch64__) 78 # define HAVE_ARCH_ARM64 1 81 # define HAVE_ARCH_ARM32 1 86 #if !defined(HAVE_ARCH_ARM) && defined(__aarch64__) 87 # define HAVE_ARCH_ARM 1 88 # define HAVE_ARCH_ARM64 1 93 #if defined(__BIG_ENDIAN__) || defined(__ARMEB__) || defined(__THUMBEB__) || \ 94 defined(__AARCH64EB__) || defined(_MIPSEB) || defined(__MIPSEB__) || \ 96 # define HAVE_BIG_ENDIAN 1 98 # define HAVE_LITTLE_ENDIAN 1 102 #if !defined(HAVE_32BIT) && !defined(HAVE_64BIT) 104 # define HAVE_64BIT 1 107 # define HAVE_32BIT 1 112 #if !defined(HAVE_32BIT) && !defined(HAVE_64BIT) 113 # if defined(__SIZEOF_POINTER__) && __SIZEOF_POINTER__==8 114 # define HAVE_64BIT 1 116 # define HAVE_32BIT 1 126 #if defined(__linux__) || defined(linux) 127 # define HAVE_LINUX 1 130 #if defined(_WIN32) || defined(_WIN64) || defined(__WINDOWS__) || defined(__WIN32__) 131 # define HAVE_WINDOWS 1 134 #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \ 135 defined(__bsdi__) || defined(__DragonFly__) 139 #if defined(__MINGW32__) || defined(__MINGW64__) 140 # define HAVE_MINGW 1 146 # define SYSTEM_CONFIG_PATH "/etc" 150 # define DEFAULT_AMDOCLNAME "libamdocl32.so" 153 # define DEFAULT_AMDOCLNAME "libamdocl64.so" 158 # define CLRX_NATIVE_DIR_SEP '/' 159 # define CLRX_NATIVE_DIR_SEP_S "/" 163 # define CLRX_ALT_DIR_SEP '\\' 164 # define CLRX_ALT_DIR_SEP_S "\\" 168 # define SYSTEM_CONFIG_PATH "c:\\etc" 172 # define DEFAULT_AMDOCLNAME "amdocl.dll" 175 # define DEFAULT_AMDOCLNAME "amdocl64.dll" 180 # define CLRX_NATIVE_DIR_SEP '\\' 181 # define CLRX_NATIVE_DIR_SEP_S "\\" 185 # define CLRX_ALT_DIR_SEP '/' 186 # define CLRX_ALT_DIR_SEP_S "/" 190 # define strcasecmp(A,B) _stricmp(A,B) 191 # define strncasecmp(A,B,N) _strnicmp(A,B,N) 192 # if defined(_MSC_VER) && _MSC_VER<1900 193 # define snprintf(B,N,F,...) _snprintf(B,N,F,__VA_ARGS__) 200 #if __GNUC__ >= 4 && !defined(__CYGWIN__) && !defined(HAVE_MINGW) 201 # define CLRX_INTERNAL __attribute__((visibility("hidden"))) 203 # define CLRX_INTERNAL 232 typedef signed long long ssize_t;
233 # define SSIZE_MIN (-9223372036854775808LL) 234 # define SSIZE_MAX (9223372036854775807LL) 236 typedef signed long ssize_t;
237 # define SSIZE_MIN (-2147483648LL) 238 # define SSIZE_MAX (2147483647LL) 243 #if __cplusplus < 201103L || (__GNUC__ == 4 && __GNUC_MINOR__ < 8) || defined(HAVE_MINGW) 244 # ifndef __STDC_LIMIT_MACROS 245 # define __STDC_LIMIT_MACROS 1 247 # ifndef __STDC_FORMAT_MACROS 248 # define __STDC_FORMAT_MACROS 1 signed short cxshort
signed short
Definition: Config.h:215
signed char cxchar
signed character (signed byte)
Definition: Config.h:209
signed long cxlong
signed long
Definition: Config.h:223
unsigned char cxuchar
unsigned character (unsigned byte)
Definition: Config.h:211
unsigned long long cxullong
unsigned long long
Definition: Config.h:229
unsigned char cxbyte
unsigned byte
Definition: Config.h:213
unsigned int cxuint
unsigned int
Definition: Config.h:221
unsigned short cxushort
unsigned short
Definition: Config.h:217
unsigned long cxulong
unsigned long
Definition: Config.h:225
signed long long cxllong
signed long long
Definition: Config.h:227
signed int cxint
signed int
Definition: Config.h:219