Skip to content

Commit a9c030c

Browse files
authored
Update assert.h
1 parent 73ce7a8 commit a9c030c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/include/sycl/stl_wrappers/assert.h

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 <assert.h>
1615
#else
1716
#include <../ucrt/assert.h>
1817
#endif
1918

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

0 commit comments

Comments
 (0)