Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions sycl/include/sycl/stl_wrappers/assert.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
// according to the current state of NDEBUG each time that <cassert> is
// included.

extern "C++" {
#if defined(__has_include_next)
#include_next <assert.h>
#else
Expand Down Expand Up @@ -42,3 +43,4 @@ __devicelib_assert_fail(const char *, const char *, int32_t, const char *,
#endif
#endif
#endif
}
2 changes: 2 additions & 0 deletions sycl/include/sycl/stl_wrappers/cassert
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
// according to the current state of NDEBUG each time that <cassert> is
// included.

extern "C++" {
#if defined(__has_include_next)
#include_next <cassert>
#else
Expand Down Expand Up @@ -42,3 +43,4 @@ __devicelib_assert_fail(const char *, const char *, int32_t, const char *,
#endif
#endif
#endif
}
Loading