aboutsummaryrefslogtreecommitdiff
path: root/xml/details/expat/config.h
blob: b301012595ab51a7a9ff692e0ef70077062a074f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef EXPAT_CONFIG_H
#define EXPAT_CONFIG_H

#ifdef _MSC_VER
#  include <xml/details/config-vc.h>
#else
#  include <xml/details/config.h>
#endif

#define BYTEORDER LIBSTUDXML_BYTEORDER

#define XML_NS 1
#define XML_DTD 1
#define XML_CONTEXT_BYTES 1024

#define UNUSED(x) (void)x;

#ifdef _WIN32
/* Windows
 *
 */
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#undef WIN32_LEAN_AND_MEAN

#define HAVE_MEMMOVE 1

#else
/* POSIX
 *
 */
#define HAVE_MEMMOVE 1
#endif

#endif /* EXPAT_CONFIG_H */