mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-09-16 07:32:22 +08:00
Only disable assume for GCC.
This commit is contained in:
parent
dcde904e68
commit
428c9bff9c
@ -115,8 +115,8 @@
|
||||
|
||||
#ifdef FASTFLOAT_ASSUME
|
||||
// Use the provided definition.
|
||||
// #elif FASTFLOAT_HAS_CPP_ATTRIBUTE(assume)
|
||||
// #define FASTFLOAT_ASSUME(expr) [[assume(expr)]]
|
||||
#elif FASTFLOAT_HAS_CPP_ATTRIBUTE(assume) && !defined(__GNUC__)
|
||||
#define FASTFLOAT_ASSUME(expr) [[assume(expr)]]
|
||||
#else
|
||||
#define FASTFLOAT_ASSUME(expr)
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user