Skip to content

Commit

Permalink
fix old gcc version check (#2989)
Browse files Browse the repository at this point in the history
  • Loading branch information
davebayer authored Nov 29, 2024
1 parent 9beeb26 commit d9a9493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcudacxx/include/cuda/std/__cccl/builtin.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
# undef _CCCL_BUILTIN_ISNAN
#endif // _CCCL_CUDACC_BELOW(11, 7)

#if (_CCCL_CHECK_BUILTIN(builtin_launder) || (_CCCL_COMPILER(GCC) && _CCCL_GCC_VERSION >= 70000))
#if _CCCL_CHECK_BUILTIN(builtin_launder) || _CCCL_COMPILER(GCC, >=, 7)
# define _CCCL_BUILTIN_LAUNDER(...) __builtin_launder(__VA_ARGS__)
#endif // _CCCL_CHECK_BUILTIN(builtin_launder) && gcc >= 7

Expand Down

0 comments on commit d9a9493

Please sign in to comment.