summaryrefslogtreecommitdiff
path: root/solenv/bin
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-14 16:52:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-15 07:59:16 +0000
commitce8bb761f39db039fca2e312348a263d7fd7bf19 (patch)
treed226672f6da44d81396b981c313287aa3b8c60e4 /solenv/bin
parent48b1c8898d2f5a54435d23c412a0c65b553ef46d (diff)
clang-cl loplugin: solenv
Change-Id: I0a1075b92e787fc8bab7cfab5c3f24ad918a9181 Reviewed-on: https://gerrit.libreoffice.org/29850 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'solenv/bin')
-rw-r--r--solenv/bin/concat-deps.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/solenv/bin/concat-deps.c b/solenv/bin/concat-deps.c
index 064492ae8c5d..cfaac07e6691 100644
--- a/solenv/bin/concat-deps.c
+++ b/solenv/bin/concat-deps.c
@@ -28,7 +28,6 @@
#endif /* Def _AIX */
#ifdef _MSC_VER
-#define __windows
#undef CORE_BIG_ENDIAN
#define CORE_LITTLE_ENDIAN
#endif /* Def _MSC_VER */
@@ -80,7 +79,7 @@
#include <string.h>
#include <ctype.h>
-#ifdef __windows
+#ifdef _MSC_VER
#include <io.h>
#else
#include <unistd.h>
@@ -89,7 +88,7 @@
#include <config_options.h>
/* modes */
-#ifdef __windows
+#ifdef _MSC_VER
#define FILE_O_RDONLY _O_RDONLY
#define FILE_O_BINARY _O_BINARY
#define PATHNCMP _strnicmp /* MSVC converts paths to lower-case sometimes? */