summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
Diffstat (limited to 'lib/replace')
-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'],
}