diff options
author | Jesús Corrius <jcorrius@gmail.com> | 2013-11-16 14:53:12 +0100 |
---|---|---|
committer | Jesús Corrius <jcorrius@gmail.com> | 2013-11-16 14:55:50 +0100 |
commit | d83e581fb5074c575e942115b6930b00a81b21dd (patch) | |
tree | 460f4f19129b834d011cec5037e91dec81bc556c /soltools | |
parent | 49ca17de76ba4a6396b9207a82d460cbae7c6d53 (diff) |
Fix for VS 2013 compilation
I don´t know why it doesn´t work anymore, but the fix is trivial
may be related of using the Windows 8.0 SDK.
Change-Id: Ia09109b53d4f022a732ea781c98ddd4eb0c721d9
Diffstat (limited to 'soltools')
-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> |