diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-06-10 18:45:45 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:51:55 -0500 |
commit | f28e4f386393b500abfc468e390acfb808d6854a (patch) | |
tree | b13ea997eb286c49aa94077aa5f1e1664f06a2ec /source3/include/includes.h | |
parent | e107e9790d96ae78c5d3ec17c28ef3ff6ca42e9a (diff) | |
download | samba-f28e4f386393b500abfc468e390acfb808d6854a.tar.gz samba-f28e4f386393b500abfc468e390acfb808d6854a.tar.bz2 samba-f28e4f386393b500abfc468e390acfb808d6854a.zip |
r1111: Rename vsnprintf to smb_vsnprintf so we don't get duplicate symbol errors
when linking against an app that does have vsnprintf() (bug #478)
(This used to be commit 9f1c978088321b09dea96c54026ebdfaaf770641)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r-- | source3/include/includes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index ea8eb1a304..9efdd2cc3a 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -1239,6 +1239,7 @@ int asprintf(char **,const char *, ...) PRINTF_ATTRIBUTE(2,3); #if !defined(HAVE_SNPRINTF) || !defined(HAVE_C99_VSNPRINTF) #define snprintf smb_snprintf +#define vsnprintf smb_vsnprintf #endif void sys_adminlog(int priority, const char *format_str, ...) PRINTF_ATTRIBUTE(2,3); |