diff --git a/libcxx/include/type_traits b/libcxx/include/type_traits index a17af48f6e..41221c559f 100644 --- a/libcxx/include/type_traits +++ b/libcxx/include/type_traits @@ -4885,7 +4885,7 @@ _LIBCUDACXX_END_NAMESPACE_STD_NOVERSION #else } #endif //_LIBCUDACXX_END_NAMESPACE_STD_NOVERSION -#endif +#endif // _LIBCUDACXX_STD_VER > 11 #ifndef __cuda_std__ #include <__pragma_pop>