diff --git a/include/fmt/core.h b/include/fmt/core.h index 44cc3d95..c2f997f7 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;