Check for vsnprintf and _vsnprintf, and define vsnprintf with
_vsnprintf if needed.
This commit is contained in:
parent
b803bbd53f
commit
be514b908e
|
@ -13145,6 +13145,8 @@ fi
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -13155,6 +13157,7 @@ for ac_func in \
|
|||
_snprintf \
|
||||
_stricmp \
|
||||
_strnicmp \
|
||||
_vsnprintf \
|
||||
chsize \
|
||||
clone \
|
||||
ecvt \
|
||||
|
@ -13202,6 +13205,7 @@ for ac_func in \
|
|||
timegm \
|
||||
usleep \
|
||||
vfscanf \
|
||||
vsnprintf \
|
||||
wait4 \
|
||||
waitpid \
|
||||
|
||||
|
|
|
@ -936,6 +936,7 @@ AC_CHECK_FUNCS(\
|
|||
_snprintf \
|
||||
_stricmp \
|
||||
_strnicmp \
|
||||
_vsnprintf \
|
||||
chsize \
|
||||
clone \
|
||||
ecvt \
|
||||
|
@ -983,6 +984,7 @@ AC_CHECK_FUNCS(\
|
|||
timegm \
|
||||
usleep \
|
||||
vfscanf \
|
||||
vsnprintf \
|
||||
wait4 \
|
||||
waitpid \
|
||||
)
|
||||
|
|
|
@ -638,6 +638,9 @@
|
|||
/* Define to 1 if you have the `vfscanf' function. */
|
||||
#undef HAVE_VFSCANF
|
||||
|
||||
/* Define to 1 if you have the `vsnprintf' function. */
|
||||
#undef HAVE_VSNPRINTF
|
||||
|
||||
/* Define to 1 if you have the `wait4' function. */
|
||||
#undef HAVE_WAIT4
|
||||
|
||||
|
@ -695,6 +698,9 @@
|
|||
/* Define to 1 if you have the `_strnicmp' function. */
|
||||
#undef HAVE__STRNICMP
|
||||
|
||||
/* Define to 1 if you have the `_vsnprintf' function. */
|
||||
#undef HAVE__VSNPRINTF
|
||||
|
||||
/* Define if we have __va_copy */
|
||||
#undef HAVE___VA_COPY
|
||||
|
||||
|
|
|
@ -103,6 +103,10 @@ struct statfs;
|
|||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_VSNPRINTF) && defined(HAVE__VSNPRINTF)
|
||||
#define vsnprintf _vsnprintf
|
||||
#endif
|
||||
|
||||
#ifndef S_ISLNK
|
||||
# define S_ISLNK(mod) (0)
|
||||
#endif /* S_ISLNK */
|
||||
|
|
Loading…
Reference in New Issue