Commit be514b90 authored by Steven Edwards's avatar Steven Edwards Committed by Alexandre Julliard

Check for vsnprintf and _vsnprintf, and define vsnprintf with

_vsnprintf if needed.
parent b803bbd5
...@@ -13148,6 +13148,8 @@ fi ...@@ -13148,6 +13148,8 @@ fi
for ac_func in \ for ac_func in \
_lwp_create \ _lwp_create \
_pclose \ _pclose \
...@@ -13155,6 +13157,7 @@ for ac_func in \ ...@@ -13155,6 +13157,7 @@ for ac_func in \
_snprintf \ _snprintf \
_stricmp \ _stricmp \
_strnicmp \ _strnicmp \
_vsnprintf \
chsize \ chsize \
clone \ clone \
ecvt \ ecvt \
...@@ -13202,6 +13205,7 @@ for ac_func in \ ...@@ -13202,6 +13205,7 @@ for ac_func in \
timegm \ timegm \
usleep \ usleep \
vfscanf \ vfscanf \
vsnprintf \
wait4 \ wait4 \
waitpid \ waitpid \
......
...@@ -936,6 +936,7 @@ AC_CHECK_FUNCS(\ ...@@ -936,6 +936,7 @@ AC_CHECK_FUNCS(\
_snprintf \ _snprintf \
_stricmp \ _stricmp \
_strnicmp \ _strnicmp \
_vsnprintf \
chsize \ chsize \
clone \ clone \
ecvt \ ecvt \
...@@ -983,6 +984,7 @@ AC_CHECK_FUNCS(\ ...@@ -983,6 +984,7 @@ AC_CHECK_FUNCS(\
timegm \ timegm \
usleep \ usleep \
vfscanf \ vfscanf \
vsnprintf \
wait4 \ wait4 \
waitpid \ waitpid \
) )
......
...@@ -638,6 +638,9 @@ ...@@ -638,6 +638,9 @@
/* Define to 1 if you have the `vfscanf' function. */ /* Define to 1 if you have the `vfscanf' function. */
#undef HAVE_VFSCANF #undef HAVE_VFSCANF
/* Define to 1 if you have the `vsnprintf' function. */
#undef HAVE_VSNPRINTF
/* Define to 1 if you have the `wait4' function. */ /* Define to 1 if you have the `wait4' function. */
#undef HAVE_WAIT4 #undef HAVE_WAIT4
...@@ -695,6 +698,9 @@ ...@@ -695,6 +698,9 @@
/* Define to 1 if you have the `_strnicmp' function. */ /* Define to 1 if you have the `_strnicmp' function. */
#undef HAVE__STRNICMP #undef HAVE__STRNICMP
/* Define to 1 if you have the `_vsnprintf' function. */
#undef HAVE__VSNPRINTF
/* Define if we have __va_copy */ /* Define if we have __va_copy */
#undef HAVE___VA_COPY #undef HAVE___VA_COPY
......
...@@ -103,6 +103,10 @@ struct statfs; ...@@ -103,6 +103,10 @@ struct statfs;
#define snprintf _snprintf #define snprintf _snprintf
#endif #endif
#if !defined(HAVE_VSNPRINTF) && defined(HAVE__VSNPRINTF)
#define vsnprintf _vsnprintf
#endif
#ifndef S_ISLNK #ifndef S_ISLNK
# define S_ISLNK(mod) (0) # define S_ISLNK(mod) (0)
#endif /* S_ISLNK */ #endif /* S_ISLNK */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment