summaryrefslogtreecommitdiff
path: root/configmgr/source
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr/source')
-rw-r--r--configmgr/source/components.cxx4
-rw-r--r--configmgr/source/writemodfile.cxx2
-rw-r--r--configmgr/source/writemodfile.hxx2
3 files changed, 4 insertions, 4 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.*/) {
diff --git a/configmgr/source/writemodfile.cxx b/configmgr/source/writemodfile.cxx
index 0824bae736a7..d04818ecae88 100644
--- a/configmgr/source/writemodfile.cxx
+++ b/configmgr/source/writemodfile.cxx
@@ -93,7 +93,7 @@ TempFile::~TempFile() {
}
}
-#ifdef WNT
+#ifdef _WIN32
oslFileError TempFile::closeWithoutUnlink() {
flush();
oslFileError e = osl_closeFile(handle);
diff --git a/configmgr/source/writemodfile.hxx b/configmgr/source/writemodfile.hxx
index caa9eee8b69a..d1a9348a0490 100644
--- a/configmgr/source/writemodfile.hxx
+++ b/configmgr/source/writemodfile.hxx
@@ -38,7 +38,7 @@ struct TempFile {
~TempFile();
void closeAndRename(const OUString &url);
oslFileError flush();
-#ifdef WNT
+#ifdef _WIN32
oslFileError closeWithoutUnlink();
#endif
void writeString(char const *begin, sal_Int32 length);