Changeset View
Changeset View
Standalone View
Standalone View
runtime/src/kmp_os.h
Show First 20 Lines • Show All 95 Lines • ▼ Show 20 Lines | |||||
#if __LDBL_MAX_EXP__ >= 16384 && KMP_COMPILER_GCC | #if __LDBL_MAX_EXP__ >= 16384 && KMP_COMPILER_GCC | ||||
typedef long double _Quad; | typedef long double _Quad; | ||||
#undef KMP_HAVE_QUAD | #undef KMP_HAVE_QUAD | ||||
#define KMP_HAVE_QUAD 1 | #define KMP_HAVE_QUAD 1 | ||||
#endif | #endif | ||||
#endif /* KMP_ARCH_X86 || KMP_ARCH_X86_64 */ | #endif /* KMP_ARCH_X86 || KMP_ARCH_X86_64 */ | ||||
#if KMP_OS_WINDOWS | #if KMP_OS_WINDOWS | ||||
#define KMP_END_OF_LINE "\r\n" | |||||
typedef char kmp_int8; | typedef char kmp_int8; | ||||
typedef unsigned char kmp_uint8; | typedef unsigned char kmp_uint8; | ||||
typedef short kmp_int16; | typedef short kmp_int16; | ||||
typedef unsigned short kmp_uint16; | typedef unsigned short kmp_uint16; | ||||
typedef int kmp_int32; | typedef int kmp_int32; | ||||
typedef unsigned int kmp_uint32; | typedef unsigned int kmp_uint32; | ||||
#define KMP_INT32_SPEC "d" | #define KMP_INT32_SPEC "d" | ||||
#define KMP_UINT32_SPEC "u" | #define KMP_UINT32_SPEC "u" | ||||
Show All 15 Lines | |||||
typedef __int64 kmp_intptr_t; | typedef __int64 kmp_intptr_t; | ||||
typedef unsigned __int64 kmp_uintptr_t; | typedef unsigned __int64 kmp_uintptr_t; | ||||
#define KMP_INTPTR_SPEC "I64d" | #define KMP_INTPTR_SPEC "I64d" | ||||
#define KMP_UINTPTR_SPEC "I64u" | #define KMP_UINTPTR_SPEC "I64u" | ||||
#endif | #endif | ||||
#endif /* KMP_OS_WINDOWS */ | #endif /* KMP_OS_WINDOWS */ | ||||
#if KMP_OS_UNIX | #if KMP_OS_UNIX | ||||
#define KMP_END_OF_LINE "\n" | |||||
typedef char kmp_int8; | typedef char kmp_int8; | ||||
typedef unsigned char kmp_uint8; | typedef unsigned char kmp_uint8; | ||||
typedef short kmp_int16; | typedef short kmp_int16; | ||||
typedef unsigned short kmp_uint16; | typedef unsigned short kmp_uint16; | ||||
typedef int kmp_int32; | typedef int kmp_int32; | ||||
typedef unsigned int kmp_uint32; | typedef unsigned int kmp_uint32; | ||||
typedef long long kmp_int64; | typedef long long kmp_int64; | ||||
typedef unsigned long long kmp_uint64; | typedef unsigned long long kmp_uint64; | ||||
▲ Show 20 Lines • Show All 811 Lines • Show Last 20 Lines |