Move definition of FMT_USE_INT128 to core.h

This commit is contained in:
Deniz Evrenci
2019-09-01 20:04:42 +09:00
committed by Victor Zverovich
parent 8ce5f680f2
commit 16e3c48bb0
2 changed files with 8 additions and 8 deletions

View File

@@ -195,6 +195,14 @@
# define FMT_USE_EXPERIMENTAL_STRING_VIEW
#endif
#ifdef FMT_USE_INT128
// Do nothing.
#elif defined(__SIZEOF_INT128__)
# define FMT_USE_INT128 1
#else
# define FMT_USE_INT128 0
#endif
FMT_BEGIN_NAMESPACE
// Implementations of enable_if_t and other types for pre-C++14 systems.