mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-05 22:50:51 -05:00
Trail fix for MSVC++ vsnprintf problem
This commit is contained in:
parent
9b8dd2033f
commit
17441c7cbc
1 changed files with 5 additions and 2 deletions
|
|
@ -2402,9 +2402,12 @@ AC_CHECK_FUNC(_snprintf, [ac_cv_func_snprintf=yes
|
|||
AC_DEFINE(snprintf, _snprintf, [define to snprintf routine])
|
||||
])
|
||||
|
||||
AC_CHECK_FUNC(_vsnprintf, [ac_cv_func_vsnprintf=yes
|
||||
AC_CHECK_FUNCS(vsnprintf _vsnprintf)
|
||||
|
||||
if test $ac_cv_func_vsnprintf = no -a $ac_cv_func__vsnprintf = yes ; then
|
||||
ac_cv_func_vsnprintf=yes
|
||||
AC_DEFINE(vsnprintf, _vsnprintf, [define to vsnprintf routine])
|
||||
])
|
||||
fi
|
||||
|
||||
AC_FUNC_VPRINTF
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue