We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
yvals.h
1 parent f5bc208 commit a7e7ffdCopy full SHA for a7e7ffd
libcudacxx/include/cuda/std/__cccl/assert.h
@@ -62,7 +62,7 @@
62
//! _CCCL_ASSERT_IMPL_HOST should never be used directly
63
#if defined(_CCCL_COMPILER_NVRTC) // There is no host standard library in nvrtc
64
# define _CCCL_ASSERT_IMPL_HOST(expression, message) ((void) 0)
65
-#elif __has_include(<yvals_core.h>) // MSVC uses _STL_VERIFY from <yvals.h>
+#elif __has_include(<yvals.h>) && defined(_CCCL_COMPILER_MSVC) // MSVC uses _STL_VERIFY from <yvals.h>
66
# include <yvals.h>
67
# define _CCCL_ASSERT_IMPL_HOST(expression, message) _STL_VERIFY(expression, message)
68
#else // ^^^ MSVC STL ^^^ / vvv !MSVC STL vvv
0 commit comments