diff options
-rw-r--r-- | soltools/cpp/_include.c | 2 | ||||
-rw-r--r-- | soltools/cpp/_macro.c | 2 |
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> |