Skip to content

Commit ae60749

Browse files
authored
Update cassert
1 parent a9c030c commit ae60749

File tree

1 file changed

+1
-1
lines changed
  • sycl/include/sycl/stl_wrappers

1 file changed

+1
-1
lines changed

sycl/include/sycl/stl_wrappers/cassert

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
// according to the current state of NDEBUG each time that <cassert> is
1111
// included.
1212

13-
extern "C++" {
1413
#if defined(__has_include_next)
1514
#include_next <cassert>
1615
#else
1716
#include <../include/cassert>
1817
#endif
1918

19+
extern "C++" {
2020
#ifdef __SYCL_DEVICE_ONLY__
2121
#include <CL/__spirv/spirv_vars.hpp>
2222

0 commit comments

Comments
 (0)