123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- #define _CRT_SECURE_NO_DEPRECATE
- #define _CRT_SECURE_NO_WARNINGS
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- #include <stdarg.h>
- #include <ctype.h>
- #include <io.h>
- #define close _close
- #define open _open
- #define read _read
- #define snprintf _snprintf
- #define strdup _strdup
- #define vsnprintf _vsnprintf
- #define write _write
- #define MXML_VERSION "Mini-XML v2.8"
- #define inline _inline
- #define HAVE_LONG_LONG 1
- #define HAVE_SNPRINTF 1
- #define HAVE_VSNPRINTF 1
- #define HAVE_STRDUP 1
- # ifndef HAVE_STRDUP
- extern char *_mxml_strdup(const char *);
- # define strdup _mxml_strdup
- # endif
- extern char *_mxml_strdupf(const char *, ...);
- extern char *_mxml_vstrdupf(const char *, va_list);
- # ifndef HAVE_SNPRINTF
- extern int _mxml_snprintf(char *, size_t, const char *, ...);
- # define snprintf _mxml_snprintf
- # endif
- # ifndef HAVE_VSNPRINTF
- extern int _mxml_vsnprintf(char *, size_t, const char *, va_list);
- # define vsnprintf _mxml_vsnprintf
- # endif
|