Skip to content

Commit c575155

Browse files
Don't break ABI on Win
1 parent e36fdcf commit c575155

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sycl/include/sycl/detail/os_util.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ namespace detail {
4343
/// Groups the OS-dependent services.
4444
class __SYCL_EXPORT OSUtil {
4545
#if !defined(__INTEL_PREVIEW_BREAKING_CHANGES)
46+
#ifdef _WIN32
47+
// Access control is part of the mangling on Windows, have to preserve this
48+
// for backward ABI compatibility.
49+
public:
50+
#endif
4651
/// Returns a directory component of a path.
4752
static std::string getDirName(const char *Path);
4853
#endif

0 commit comments

Comments
 (0)