From 4430d6a0d9645f40acb297e77f8e73bab3e0ddb4 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 11 Jun 2012 09:07:06 +0200 Subject: lib/replace: add more condition to add snprintf.c metze --- lib/replace/wscript | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/replace/wscript b/lib/replace/wscript index 7a44329fec..215fc32383 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'], } -- cgit