mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-21 01:40:57 +08:00
Fix cwrapper warnings from MSVC 2005.
* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src) [file scope]: define _CRT_SECURE_NO_DEPRECATE.
This commit is contained in:
parent
425841cbde
commit
0980a3993a
@ -1,3 +1,9 @@
|
||||
2009-01-30 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Fix cwrapper warnings from MSVC 2005.
|
||||
* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src)
|
||||
[file scope]: define _CRT_SECURE_NO_DEPRECATE.
|
||||
|
||||
2009-01-29 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Fix bootstrap with older libtool.m4 in reach of aclocal.
|
||||
|
@ -2712,6 +2712,9 @@ func_emit_cwrapperexe_src ()
|
||||
*/
|
||||
EOF
|
||||
cat <<"EOF"
|
||||
#ifdef _MSC_VER
|
||||
# define _CRT_SECURE_NO_DEPRECATE 1
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#ifdef _MSC_VER
|
||||
|
Loading…
Reference in New Issue
Block a user