From: Stefan Metzmacher Date: Mon, 11 Jun 2012 07:07:06 +0000 (+0200) Subject: lib/replace: add more condition to add snprintf.c X-Git-Tag: samba-4.0.0beta2~185 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4430d6a0d9645f40acb297e77f8e73bab3e0ddb4;p=thirdparty%2Fsamba.git lib/replace: add more condition to add snprintf.c metze --- diff --git a/lib/replace/wscript b/lib/replace/wscript index 7a44329fec8..215fc32383e 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -475,7 +475,9 @@ REPLACEMENT_FUNCTIONS = { 'dprintf', 'get_current_dir_name', 'strerror_r', 'clock_gettime'], 'timegm.c': ['timegm'], - 'snprintf.c': ['snprintf'], + # Note: C99_VSNPRINTF is not a function, but a special condition + # for replacement + 'snprintf.c': ['C99_VSNPRINTF', 'snprintf', 'vsnprintf', 'asprintf', 'vasprintf'], }