summaryrefslogtreecommitdiff
path: root/soltools
diff options
context:
space:
mode:
authorA_GAN <ganzouri97@gmail.com>2020-01-25 04:33:09 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2020-01-25 22:02:16 +0100
commit42e811a80a3c6f0ca5da359c4a526a1cc3e0d528 (patch)
treee631dcfab8b2541c471a413dd6c071ba9a80e6c0 /soltools
parent5568023a716b945fa3e1398859ee9682b8f71a9a (diff)
tdf#130137 Replace remaining uses of WNT define checks with _WIN32
Change-Id: If95f1ea5a81de62eb4f725e5fcb30ccb8530062a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87372 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'soltools')
-rw-r--r--soltools/mkdepend/collectdircontent.cxx4
-rw-r--r--soltools/mkdepend/collectdircontent.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/soltools/mkdepend/collectdircontent.cxx b/soltools/mkdepend/collectdircontent.cxx
index bcfa08325bdb..7ea5fa272de9 100644
--- a/soltools/mkdepend/collectdircontent.cxx
+++ b/soltools/mkdepend/collectdircontent.cxx
@@ -50,7 +50,7 @@ void IncludesCollection::add_to_collection(const string& dirPath) {
dirContent.insert(pent->d_name);
}
closedir(pdir);
-#endif // defined( WNT )
+#endif // defined( _WIN32 )
allIncludes.insert(EntriesPair(dirPath, dirContent));
}
@@ -61,7 +61,7 @@ bool IncludesCollection::exists(string filePath) {
[](char c) {
return rtl::toAsciiLowerCase(static_cast<unsigned char>(c));
});
-#endif // defined( WNT )
+#endif // defined( _WIN32 )
PathFilePair dirFile = split_path(filePath);
string dirPath = dirFile.first;
string fileName = dirFile.second;
diff --git a/soltools/mkdepend/collectdircontent.hxx b/soltools/mkdepend/collectdircontent.hxx
index bc4160a7437d..6821b76430a0 100644
--- a/soltools/mkdepend/collectdircontent.hxx
+++ b/soltools/mkdepend/collectdircontent.hxx
@@ -16,7 +16,7 @@
#include <algorithm>
#else
#include <dirent.h>
-#endif // defined( WNT )
+#endif // defined( _WIN32 )
#include <iostream>