]> git.ipfire.org Git - thirdparty/libtool.git/commit
libtool: Include _CRTIMP in _putenv() declaration in EXE wrapper sources.
authorVadim Zeitlin <vz-libtool@zeitlins.org>
Thu, 23 Jun 2011 09:34:35 +0000 (11:34 +0200)
committerMike Frysinger <vapier@gentoo.org>
Sun, 14 Jan 2024 05:58:07 +0000 (00:58 -0500)
commit383a3807b7ce2bcdae72a73329593dc4cdc4dbea
treec0d1c8e10072559e420528081532fc9e78bedf73
parent7464f1db29ccd870c3adf2b9e8093c783060c7bb
libtool: Include _CRTIMP in _putenv() declaration in EXE wrapper sources.

Re-declaring _putenv() without _CRTIMP in strict ANSI mode when using
MinGW resulted in a warning because of a conflict with the previous
declaration that did use _CRTIMP.

Simply add _CRTIMP to our declaration to avoid it.

* build-aux/ltmain.in (func_emit_cwrapperexe_src): Add _CRTIMP to
_putenv() declaration.

Signed-off-by: Vadim Zeitlin <vz-libtool@zeitlins.org>
build-aux/ltmain.in