aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2019-05-27 10:48:17 -0600
committerAntoine Pitrou <antoine@python.org>2019-05-27 18:48:16 +0200
commit02db696732c031d9a0265dc9bbf4f5b1fad042b3 (patch)
treee98de473936501302c683c984a9f8b4fdccf6dd2 /pyconfig.h.in
parentbpo-36763: Implement the PEP 587 (GH-13592) (diff)
downloadcpython-02db696732c031d9a0265dc9bbf4f5b1fad042b3.tar.gz
cpython-02db696732c031d9a0265dc9bbf4f5b1fad042b3.tar.bz2
cpython-02db696732c031d9a0265dc9bbf4f5b1fad042b3.zip
bpo-32941: Add madvise() for mmap objects (GH-6172)
Allow mmap objects to access the madvise() system call.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r--pyconfig.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index dd5f2e393be..cc643554164 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -658,6 +658,9 @@
/* Define to 1 if you have the `lutimes' function. */
#undef HAVE_LUTIMES
+/* Define to 1 if you have the `madvise' function. */
+#undef HAVE_MADVISE
+
/* Define this if you have the makedev macro. */
#undef HAVE_MAKEDEV