summaryrefslogtreecommitdiff
path: root/opencl
diff options
context:
space:
mode:
Diffstat (limited to 'opencl')
-rw-r--r--opencl/source/openclconfig.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/opencl/source/openclconfig.cxx b/opencl/source/openclconfig.cxx
index 3c5dde5a0417..79262be6b6cd 100644
--- a/opencl/source/openclconfig.cxx
+++ b/opencl/source/openclconfig.cxx
@@ -130,7 +130,7 @@ bool match(const OUString& rPattern, const OUString& rInput)
bool match(const OpenCLConfig::ImplMatcher& rListEntry, const OpenCLPlatformInfo& rPlatform, const OpenCLDeviceInfo& rDevice)
{
-#if defined WNT
+#if defined(_WIN32)
if (!rListEntry.maOS.isEmpty() && rListEntry.maOS != "Windows")
return false;
#elif defined LINUX