Skip to content

Commit 0bf8359

Browse files
Fix on Win
1 parent e5b3c4b commit 0bf8359

File tree

1 file changed

+5
-1
lines changed
  • sycl/include/sycl/ext/intel/experimental

1 file changed

+5
-1
lines changed

sycl/include/sycl/ext/intel/experimental/pipes.hpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,12 @@ class pipe_base {
6666
// before that. Make sure we use "inline" everywhere except when compiling
6767
// `pipes.cpp` so that we'd still provide this backward-compatibility ABI symbol
6868
// via `pipes.cpp` TU.
69+
#ifdef __SYCL_PIPES_CPP
6970
__SYCL_EXPORT
70-
#ifndef __SYCL_PIPES_CPP
71+
#ifdef WIN32
72+
inline
73+
#endif
74+
#else
7175
inline
7276
#endif
7377
std::string

0 commit comments

Comments
 (0)