Debian Codegraph @

pypy/module/pyexpat/src/expat/expat_config.h

raw symbols SCIP
1 /*
2 * Expat configuration for python. This file is not part of the expat
3 * distribution.
4 */
5 #ifndef EXPAT_CONFIG_H
6 #define EXPAT_CONFIG_H
7
8 #define XML_ENABLE_VISIBILITY 1
9
10
11 #ifdef __APPLE__
12 #define HAVE_ARC4RANDOM_BUF
13 #elif defined __GNUC__
14 // requires features.h, via unistd.h
15 #if __GLIBC__ == 2 && __GLIBC_MINOR__ < 17
16 #define XML_DEV_URANDOM
17 #else
18 #define HAVE_SYSCALL_GETRANDOM
19 #endif
20 //#define HAVE_GETRANDOM_SYSCALL = 1
21 #define HAVE_LINUX_RANDOM_H = 1
22 // #define HAVE_SYS_RANDOM_H 1
23 #elif defined _WIN32
24 #define XMLIMPORT __declspec(dllimport)
25 #else
26 #error "unknown platform"
27 #endif
28
29 #ifdef WORDS_BIGENDIAN
30 #define BYTEORDER 4321
31 #else
32 #define BYTEORDER 1234
33 #endif
34
35 #define HAVE_MEMMOVE 1
36
37 #define XML_NS 1
38 #define XML_DTD 1
39 #define XML_GE 1
40 #define XML_CONTEXT_BYTES 1024
41
42 #endif /* EXPAT_CONFIG_H */