mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
GCC compilation fix.
This commit is contained in:
parent
3dd9a98926
commit
1899647146
@ -62,7 +62,7 @@
|
||||
#if defined(__clang__) // needs testing
|
||||
#define FASTFLOAT_ASSUME(expr) __builtin_assume(expr)
|
||||
#elif defined(__GNUC__) && !defined(__ICC) // needs testing
|
||||
#define FASTFLOAT_ASSUME(expr) __attribute__((expr))
|
||||
#define FASTFLOAT_ASSUME(expr) if (expr) {} else { __builtin_unreachable(); }
|
||||
#elif defined(__ICC) // needs testing
|
||||
#define FASTFLOAT_ASSUME(expr) __assume(expr)
|
||||
#elif defined(_MSC_VER)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user