summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--soltools/cpp/_include.c2
-rw-r--r--soltools/cpp/_macro.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/soltools/cpp/_include.c b/soltools/cpp/_include.c
index 40ff092dd82c..7a9044b91194 100644
--- a/soltools/cpp/_include.c
+++ b/soltools/cpp/_include.c
@@ -31,7 +31,7 @@
#include <string.h>
#include <fcntl.h>
-#if defined(__IBMC__) || defined(__EMX__)
+#if defined(__IBMC__) || defined(__EMX__) || defined(_MSC_VER)
# include <fcntl.h>
# define PATH_MAX _MAX_PATH
#endif
diff --git a/soltools/cpp/_macro.c b/soltools/cpp/_macro.c
index 251a1f63dfff..b86af1022dd3 100644
--- a/soltools/cpp/_macro.c
+++ b/soltools/cpp/_macro.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#if defined(__IBMC__) || defined(__EMX__)
+#if defined(__IBMC__) || defined(__EMX__) || defined(_MSC_VER)
# define PATH_MAX _MAX_PATH
#endif
#include <limits.h>
9db3d06927380bb79b04bb6d4721a92d2b Date: Mon Sep 18 16:07:07 2000 +0000 initial import just remove that. In SwFEShell::ImpEndCreate() move some logic around to avoid using an out-of-range SdrObjKind value Change-Id: I4620bfe61aca8f7415503debe3c84bfe5f4368a0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127763 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>