mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
Sane systems should have filesystem
This commit is contained in:
parent
ab40533b27
commit
00591a8652
@ -26,6 +26,16 @@
|
||||
#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__MINGW64__) || defined(sun) || defined(__sun)
|
||||
#define FASTFLOAT_ODDPLATFORM 1
|
||||
#endif
|
||||
|
||||
#if defined __has_include
|
||||
#if __has_include (<filesystem>)
|
||||
#else
|
||||
#define FASTFLOAT_ODDPLATFORM 1
|
||||
#endif
|
||||
#else
|
||||
#define FASTFLOAT_ODDPLATFORM 1
|
||||
#endif
|
||||
|
||||
// C++ 17 because it is otherwise annoying to browse all files in a directory.
|
||||
// We also only run these tests on little endian systems.
|
||||
#if (FASTFLOAT_CPLUSPLUS >= 201703L) && (FASTFLOAT_IS_BIG_ENDIAN == 0) && !defined(FASTFLOAT_ODDPLATFORM)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user