diff options
author | Andrew Sun | 2019-09-15 12:49:23 -0400 |
---|---|---|
committer | Andrew Sun | 2019-09-15 12:49:23 -0400 |
commit | 86f90c3e0ab2b787f87acac05f6b455b251fa35f (patch) | |
tree | d10064c9c63beafa0c48e49d657cbf73e90271c7 /0006-Fix-strict-ansi-vs-posix.patch | |
parent | fd0c9b58c5307856b113ca7d0fbfec6eb8783568 (diff) | |
download | aur-mingw-w64-libtool.tar.gz |
mingw-w64-libtool: update to 2.4.6+42+gb88cebd5
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 |