diff --git a/sycl/source/detail/global_handler.cpp b/sycl/source/detail/global_handler.cpp index be4b9e200fda8..56c41e92b9652 100644 --- a/sycl/source/detail/global_handler.cpp +++ b/sycl/source/detail/global_handler.cpp @@ -14,7 +14,7 @@ #include #include -#ifdef WIN32 +#ifdef _WIN32 #include #endif @@ -115,7 +115,7 @@ GlobalHandler::getDeviceFilterList(const std::string &InitValue) { void shutdown() { delete &GlobalHandler::instance(); } -#ifdef WIN32 +#ifdef _WIN32 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved) { // Perform actions based on the reason for calling. switch (fdwReason) {