summaryrefslogtreecommitdiffstats
path: root/Modules/expat/expat_config.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2017-09-24 19:08:40 (GMT)
committerGitHub <noreply@github.com>2017-09-24 19:08:40 (GMT)
commitb1d1c422ccb9a1711c2d90660373edce9204adcb (patch)
tree444133c0b4497dc76f67c074396d000111d90066 /Modules/expat/expat_config.h
parent5b9299d8c72aeadccadd77e4b8132094ba9a1f96 (diff)
downloadcpython-b1d1c422ccb9a1711c2d90660373edce9204adcb.zip
cpython-b1d1c422ccb9a1711c2d90660373edce9204adcb.tar.gz
cpython-b1d1c422ccb9a1711c2d90660373edce9204adcb.tar.bz2
remove configure check for memmove (#3716)
Python requires C implementations provide memmove, so we shouldn't need to check for it. The only place using this configure check was expat, where we can simply always define HAVE_MEMMOVE.
Diffstat (limited to 'Modules/expat/expat_config.h')
-rw-r--r--Modules/expat/expat_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/expat/expat_config.h b/Modules/expat/expat_config.h
index b8c1639..afbedd0 100644
--- a/Modules/expat/expat_config.h
+++ b/Modules/expat/expat_config.h
@@ -12,6 +12,8 @@
#define BYTEORDER 1234
#endif
+#define HAVE_MEMMOVE 1
+
#define XML_NS 1
#define XML_DTD 1
#define XML_CONTEXT_BYTES 1024