diff options
-rw-r--r-- | source4/lib/replace/replace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h index ca315131f1..7cdaaae689 100644 --- a/source4/lib/replace/replace.h +++ b/source4/lib/replace/replace.h @@ -223,12 +223,12 @@ int rep_dlclose(void *handle); int rep_vasprintf(char **ptr, const char *format, va_list ap); #endif -#ifndef HAVE_SNPRINTF +#if !defined(HAVE_SNPRINTF) || !defined(HAVE_C99_VSNPRINTF) #define snprintf rep_snprintf int rep_snprintf(char *,size_t ,const char *, ...) PRINTF_ATTRIBUTE(3,4); #endif -#ifndef HAVE_VSNPRINTF +#if !defined(HAVE_VSNPRINTF) || !defined(HAVE_C99_VSNPRINTF) #define vsnprintf rep_vsnprintf int rep_vsnprintf(char *,size_t ,const char *, va_list ap); #endif |