diff --git a/sycl/source/detail/plugin.hpp b/sycl/source/detail/plugin.hpp index 3a44b23091320..22f9ed96cb589 100644 --- a/sycl/source/detail/plugin.hpp +++ b/sycl/source/detail/plugin.hpp @@ -221,7 +221,9 @@ class plugin { // represents the unique ids of the last device of each platform // index of this vector corresponds to the index in UrPlatforms vector. std::vector LastDeviceIds; +#ifdef _WIN32 void *UrLoaderHandle = nullptr; +#endif UrFuncPtrMapT UrFuncPtrs; }; // class plugin