diff --git a/include/fmt/core.h b/include/fmt/core.h index eadd4ab1..ab85a89f 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -266,7 +266,7 @@ template struct std_string_view {}; #ifdef FMT_USE_INT128 // Do nothing. -#elif defined(__SIZEOF_INT128__) +#elif defined(__SIZEOF_INT128__) && !FMT_NVCC # define FMT_USE_INT128 1 using int128_t = __int128_t; using uint128_t = __uint128_t;