summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-08-02 19:16:45 (GMT)
committerBenjamin Peterson <benjamin@python.org>2015-08-02 19:16:45 (GMT)
commit60e3f367a4fea840df2bb4cd85e007768433e0ad (patch)
tree75e7a0893e11553cbe15ae35905fbaad8781aaf0 /Modules
parent32ba405ce5ad9ee7c18c96a264c5db42817f7cb1 (diff)
parentf6b5cad3c37f5f8d2db5ded60c85b2beab360181 (diff)
downloadcpython-60e3f367a4fea840df2bb4cd85e007768433e0ad.zip
cpython-60e3f367a4fea840df2bb4cd85e007768433e0ad.tar.gz
cpython-60e3f367a4fea840df2bb4cd85e007768433e0ad.tar.bz2
Merge 3.4 (#24217)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/mmapmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c
index c5ba4b7..daab52b 100644
--- a/Modules/mmapmodule.c
+++ b/Modules/mmapmodule.c
@@ -24,9 +24,9 @@
#ifndef MS_WINDOWS
#define UNIX
-# ifdef __APPLE__
+# ifdef HAVE_FCNTL_H
# include <fcntl.h>
-# endif
+# endif /* HAVE_FCNTL_H */
#endif
#ifdef MS_WINDOWS