From 1746ffe090dbb254b943c9db09a42f528ab2dac7 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 11 Jun 2012 08:56:09 +0200 Subject: [PATCH] Revert "lib/replace: Fix snprintf() override for systems with a broken snprintf()" This reverts commit bbc1b0c9853322da10483f72c020fe0dd83b28fa. A more generic fix will follow. metze --- lib/replace/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/replace/wscript b/lib/replace/wscript index 549e14b4dc5..7a44329fec8 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -475,6 +475,7 @@ REPLACEMENT_FUNCTIONS = { 'dprintf', 'get_current_dir_name', 'strerror_r', 'clock_gettime'], 'timegm.c': ['timegm'], + 'snprintf.c': ['snprintf'], } @@ -483,7 +484,6 @@ def build(bld): REPLACE_HOSTCC_SOURCE = '' - if not bld.CONFIG_SET('HAVE_C99_VSNPRINTF'): REPLACE_HOSTCC_SOURCE += ' snprintf.c' if bld.CONFIG_SET('REPLACE_STRPTIME'): REPLACE_HOSTCC_SOURCE += ' strptime.c' for filename, functions in REPLACEMENT_FUNCTIONS.iteritems(): for function in functions: -- 2.11.4.GIT