[patch #8843] Include _CRTIMP in _putenv() declaration in EXE wrapper sources

Vadim Zeitlin <[email protected]>
Newsgroups gmane.comp.gnu.libtool.patches
Message-ID <[email protected]>
Follow-up Comment #1, patch #8843 (project libtool):

Here is the updated version of the patch for the latest master:

```
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 2a5aaad..0217828 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -3663,7 +3663,7 @@ EOF
 /* declarations of non-ANSI functions */
 #if defined __MINGW32__
 # ifdef __STRICT_ANSI__
-int _putenv (const char *);
+_CRTIMP int _putenv (const char *);
 # endif
 #elif defined __CYGWIN__
 # ifdef __STRICT_ANSI__
```

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8843>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.