diff options
Diffstat (limited to '0006-Fix-strict-ansi-vs-posix.patch')
-rw-r--r-- | 0006-Fix-strict-ansi-vs-posix.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/0006-Fix-strict-ansi-vs-posix.patch b/0006-Fix-strict-ansi-vs-posix.patch new file mode 100644 index 000000000000..486ad76112e5 --- /dev/null +++ b/0006-Fix-strict-ansi-vs-posix.patch @@ -0,0 +1,22 @@ +[PATCH 6/6] Fix STRICT_ANSI vs POSIX +* build-aux/ltmain.in (func_mode_link): Also check for _POSIX +as well as __STRICT_ANSI__ to avoid re-definitions. +--- + build-aux/ltmain.in | 4 +++- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in +index af46cb8..244bb5b 100644 +--- a/build-aux/ltmain.in ++++ b/build-aux/ltmain.in +@@ -3382,7 +3382,7 @@ + + /* declarations of non-ANSI functions */ + #if defined __MINGW32__ +-# ifdef __STRICT_ANSI__ ++# if defined(__STRICT_ANSI__) && !defined(__MINGW64_VERSION_MAJOR) || defined(_POSIX_) + int _putenv (const char *); + # endif + #elif defined __CYGWIN__ +-- +1.7.0.2.msysgit.0
\ No newline at end of file |