summaryrefslogtreecommitdiff
path: root/configmgr/source/components.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr/source/components.cxx')
-rw-r--r--configmgr/source/components.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/configmgr/source/components.cxx b/configmgr/source/components.cxx
index b1b4b725c579..3f94a8d39917 100644
--- a/configmgr/source/components.cxx
+++ b/configmgr/source/components.cxx
@@ -69,7 +69,7 @@
#include <dconf.hxx>
#endif
-#if defined WNT
+#if defined(_WIN32)
#include "winreg.hxx"
#endif
@@ -546,7 +546,7 @@ Components::Components(
}
++layer; //TODO: overflow
#endif
-#if defined WNT
+#if defined(_WIN32)
} else if (type == "winreg") {
WinRegType eType;
if (url == "LOCAL_MACHINE" || url.isEmpty()/*backwards comp.*/) {