summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-11 09:07:06 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-14 09:34:13 +0200
commit4430d6a0d9645f40acb297e77f8e73bab3e0ddb4 (patch)
tree02065eb67eac0a110679940bb7e3b4100f346c38 /lib
parent1746ffe090dbb254b943c9db09a42f528ab2dac7 (diff)
downloadsamba-4430d6a0d9645f40acb297e77f8e73bab3e0ddb4.tar.gz
samba-4430d6a0d9645f40acb297e77f8e73bab3e0ddb4.tar.bz2
samba-4430d6a0d9645f40acb297e77f8e73bab3e0ddb4.zip
lib/replace: add more condition to add snprintf.c
metze
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/wscript4
1 files changed, 3 insertions, 1 deletions
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'],
}