TurboPFor: Config/Platform
This commit is contained in:
@ -38,6 +38,13 @@ typedef unsigned long long uint64_t;
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#define __STDC_WANT_IEC_60559_TYPES_EXT__
|
#define __STDC_WANT_IEC_60559_TYPES_EXT__
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
|
#if defined(__clang__) && defined(__is_identifier)
|
||||||
|
#if !__is_identifier(_Float16)
|
||||||
|
#undef FLT16_BUILTIN
|
||||||
|
#endif
|
||||||
|
#elif defined(FLT16_MAX)
|
||||||
|
#define FLT16_BUILTIN
|
||||||
|
#endif
|
||||||
|
|
||||||
//------------------------- Compiler ------------------------------------------
|
//------------------------- Compiler ------------------------------------------
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
|
|||||||
Reference in New Issue
Block a user