X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/0f5a04e3ffe2e959e8eab4d65ab99cd1ec1f4aef..6813fa7eac1c7d1c26c43b3b62c53285a6364dbb:/lib/snprintf.c diff --git a/lib/snprintf.c b/lib/snprintf.c index 4f3e4dc7..70c55f7e 100644 --- a/lib/snprintf.c +++ b/lib/snprintf.c @@ -752,13 +752,15 @@ static void dopr_outch(char *buffer, size_t *currlen, size_t maxlen, char c) } #if !defined(HAVE_VSNPRINTF) || !defined(HAVE_C99_VSNPRINTF) - int vsnprintf (char *str, size_t count, const char *fmt, va_list args) +#define vsnprintf rsync_vsnprintf + int vsnprintf(char *str, size_t count, const char *fmt, va_list args) { return dopr(str, count, fmt, args); } #endif #if !defined(HAVE_SNPRINTF) || !defined(HAVE_C99_VSNPRINTF) +#define snprintf rsync_snprintf int snprintf(char *str,size_t count,const char *fmt,...) { size_t ret;