diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/replace/wscript | 4 |
1 files changed, 3 insertions, 1 deletions
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'], } |