mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-24 19:29:47 +01:00
base.h: _BitInt is not available when Clang is used as a host compiler for NVCC (#4564)
This commit is contained in:
@@ -417,7 +417,11 @@ inline auto map(uint128_opt) -> monostate { return {}; }
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef FMT_USE_BITINT
|
#ifndef FMT_USE_BITINT
|
||||||
# define FMT_USE_BITINT (FMT_CLANG_VERSION >= 1500)
|
# if FMT_CLANG_VERSION >= 1500 && !defined(__CUDACC__)
|
||||||
|
# define FMT_USE_BITINT 1
|
||||||
|
# else
|
||||||
|
# define FMT_USE_BITINT 0
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if FMT_USE_BITINT
|
#if FMT_USE_BITINT
|
||||||
|
|||||||
Reference in New Issue
Block a user