Re: [PATCH] Include _CRTIMP in _putenv() declaration in EXE wrapper sources.

2011-06-23 Thread Charles Wilson
On 6/23/2011 5:34 AM, Vadim Zeitlin wrote: > 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. > -int _putenv (const

[PATCH] Include _CRTIMP in _putenv() declaration in EXE wrapper sources.

2011-06-23 Thread Vadim Zeitlin
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. * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): Add _CRTIMP to _