aboutsummaryrefslogtreecommitdiff
path: root/libxsde/xsde/c/expat/config.h
blob: 41c8fdf773c6bcf78982810806bfbaaf9e4f7afa (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
36
37
38
39
40
41
42
#ifndef XSDE_C_EXPAT_CONFIG_H
#define XSDE_C_EXPAT_CONFIG_H

#include <xsde/config.h>


#if XSDE_BYTEORDER == 1234
#  define BYTEORDER 1234
#elif XSDE_BYTEORDER == 4321
#  define BYTEORDER 4321
#else
#  error XSDE_BYTEORDER is not defined or defined to an invalid value
#endif


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

#define UNUSED(x) (void)x;

/* Windows
 *
 */
#if defined(XSDE_PLATFORM_WIN32) || defined (XSDE_PLATFORM_WINCE)

#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#undef WIN32_LEAN_AND_MEAN

#define HAVE_MEMMOVE 1

#endif /* XSDE_PLATFORM_WIN32 || XSDE_PLATFORM_WINCE */

/* POSIX
 *
 */
#ifdef XSDE_PLATFORM_POSIX
#define HAVE_MEMMOVE 1
#endif

#endif /* XSDE_C_EXPAT_CONFIG_H */