From 83954658005d412b7321410d570c3dc12e9dc17c Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 9 Sep 2007 08:13:09 +0000 Subject: [PATCH] Fix Visual C++ config.h... --- CHANGES | 1 + vcnet/config.h | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGES b/CHANGES index da15371..2bd5330 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,7 @@ CHANGES - 2007-09-09 CHANGES IN Mini-XML 2.3.1 + - Fixed Visual C++ build problems (STR #49) - mxmlLoad*() did not return NULL when an element contained an error (STR #46) - Added support for the apos character entity (STR #54) diff --git a/vcnet/config.h b/vcnet/config.h index a2524ec..53e277d 100644 --- a/vcnet/config.h +++ b/vcnet/config.h @@ -42,7 +42,7 @@ * Version number... */ -#define MXML_VERSION "Mini-XML v2.3" +#define MXML_VERSION "Mini-XML v2.3.1" /* @@ -65,11 +65,11 @@ */ # ifndef HAVE_STRDUP -extern char *mxml_strdup(const char *); -# define strdup mxml_strdup +extern char *_mxml_strdup(const char *); +# define strdup _mxml_strdup # endif /* !HAVE_STRDUP */ -extern char *mxml_strdupf(const char *, va_list); +extern char *_mxml_strdupf(const char *, va_list); # ifndef HAVE_SNPRINTF extern int _mxml_snprintf(char *, size_t, const char *, ...); @@ -77,8 +77,8 @@ extern int _mxml_snprintf(char *, size_t, const char *, ...); # endif /* !HAVE_SNPRINTF */ # ifndef HAVE_VSNPRINTF -extern int mxml_vsnprintf(char *, size_t, const char *, va_list); -# define vsnprintf mxml_vsnprintf +extern int _mxml_vsnprintf(char *, size_t, const char *, va_list); +# define vsnprintf _mxml_vsnprintf # endif /* !HAVE_VSNPRINTF */ /*