summaryrefslogtreecommitdiffstats
path: root/Modules/_ctypes
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-09-07 21:45:10 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-09-07 21:45:10 (GMT)
commit840ef8f84b4b629b319f1cb960495be0fb8df4b6 (patch)
tree029fbb0cf2627df99195a370ac4f9ba8e1678883 /Modules/_ctypes
parent1badd2816361354f5e69d234b4ff3315f5f590cc (diff)
downloadcpython-840ef8f84b4b629b319f1cb960495be0fb8df4b6.zip
cpython-840ef8f84b4b629b319f1cb960495be0fb8df4b6.tar.gz
cpython-840ef8f84b4b629b319f1cb960495be0fb8df4b6.tar.bz2
more linux -> __linux__
Diffstat (limited to 'Modules/_ctypes')
-rw-r--r--Modules/_ctypes/libffi/src/dlmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ctypes/libffi/src/dlmalloc.c b/Modules/_ctypes/libffi/src/dlmalloc.c
index 6e474b7..55c2d76 100644
--- a/Modules/_ctypes/libffi/src/dlmalloc.c
+++ b/Modules/_ctypes/libffi/src/dlmalloc.c
@@ -525,7 +525,7 @@ DEFAULT_MMAP_THRESHOLD default: 256K
#define MMAP_CLEARS 1
#endif /* MMAP_CLEARS */
#ifndef HAVE_MREMAP
-#ifdef linux
+#ifdef __linux__
#define HAVE_MREMAP 1
#else /* linux */
#define HAVE_MREMAP 0