44 lines
927 B
C
44 lines
927 B
C
#include "cm_expat_mangle.h"
|
|
#if defined(_WIN32) || defined(WIN32)
|
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#include <windows.h>
|
|
#undef WIN32_LEAN_AND_MEAN
|
|
#include <memory.h>
|
|
#include <string.h>
|
|
#define XML_BYTE_ORDER 12
|
|
|
|
#else
|
|
|
|
#cmakedefine CMEXPAT_BIGENDIAN
|
|
#ifdef CMEXPAT_BIGENDIAN
|
|
# define XML_BYTE_ORDER 21
|
|
#else
|
|
# define XML_BYTE_ORDER 12
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#define XML_NS
|
|
#define XML_DTD
|
|
#define XML_CONTEXT_BYTES 1024
|
|
|
|
#if defined ( _MSC_VER )
|
|
#pragma warning ( disable : 4100 )
|
|
#pragma warning ( disable : 4127 )
|
|
#pragma warning ( disable : 4244 )
|
|
#pragma warning ( disable : 4251 )
|
|
#pragma warning ( disable : 4305 )
|
|
#pragma warning ( disable : 4309 )
|
|
#pragma warning ( disable : 4702 )
|
|
#pragma warning ( disable : 4706 )
|
|
#pragma warning ( disable : 4786 )
|
|
#pragma warning ( disable : 4057 )
|
|
#pragma warning ( disable : 4189 )
|
|
#pragma warning ( disable : 4505 )
|
|
#endif
|
|
|
|
#define VERSION "1.95.2"
|
|
|
|
#define cmExpatUnused(x) (void)x
|