Move declarations of xmpp_{v,}snprintf.

Use HAVE_SNPRINTF and HAVE_VSNPRINTF to conditionnaly use an internal
version of these functions or use the libc one.
This commit is contained in:
Tristan Le Guern
2015-10-16 14:34:51 +03:00
committed by Dmitry Podgorny
parent 60cfcc72e6
commit a61dba0c13
5 changed files with 48 additions and 53 deletions

View File

@@ -25,8 +25,8 @@ libstrophe_la_SOURCES = src/auth.c src/conn.c src/ctx.c \
src/snprintf.c src/sock.c src/stanza.c src/thread.c \
src/tls_openssl.c src/util.c src/rand.c src/uuid.c \
src/common.h src/hash.h src/md5.h src/ostypes.h src/parser.h \
src/sasl.h src/scram.h src/sha1.h src/sock.h src/thread.h src/tls.h \
src/util.h src/rand.h
src/sasl.h src/scram.h src/sha1.h src/snprintf.h src/sock.h \
src/thread.h src/tls.h src/util.h src/rand.h
if PARSER_EXPAT
libstrophe_la_SOURCES += src/parser_expat.c