Debian Codegraph @

Modules/expat/expat_config.h

raw
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 1
7
8 #include <pyconfig.h>
9 #ifdef WORDS_BIGENDIAN
10 #define BYTEORDER 4321
11 #else
12 #define BYTEORDER 1234
13 #endif
14
15 #define HAVE_MEMMOVE 1
16
17 #define XML_NS 1
18 #define XML_DTD 1
19 #define XML_GE 1
20 #define XML_CONTEXT_BYTES 1024
21
22 // bpo-30947: Python uses best available entropy sources to
23 // call XML_SetHashSalt(), expat entropy sources are not needed
24 #define XML_POOR_ENTROPY 1
25 #undef HAVE_ARC4RANDOM
26 #undef HAVE_ARC4RANDOM_BUF
27 #undef HAVE_GETENTROPY
28 #undef HAVE_GETRANDOM
29 #undef HAVE_SYSCALL_GETRANDOM
30
31 #endif /* EXPAT_CONFIG_H */