summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSegev Finer <segev208@gmail.com>2017-07-11 19:47:03 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-07-11 19:47:03 (GMT)
commitf52325598e7a9683787d76a42009fc16790a0089 (patch)
tree4019b4e705fc5676d280a4b522f96c0d2f9ba7a1 /Modules
parentba352270b724d67fc938c335c605acdee7474308 (diff)
downloadcpython-f52325598e7a9683787d76a42009fc16790a0089.zip
cpython-f52325598e7a9683787d76a42009fc16790a0089.tar.gz
cpython-f52325598e7a9683787d76a42009fc16790a0089.tar.bz2
Avoid _GNU_SOURCE redefined warning in xmlparse.c (#2670)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/expat/xmlparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/expat/xmlparse.c b/Modules/expat/xmlparse.c
index 76f078e..daec151 100644
--- a/Modules/expat/xmlparse.c
+++ b/Modules/expat/xmlparse.c
@@ -4,7 +4,7 @@
77fea421d361dca90041d0040ecf1dca651167fadf2af79e990e35168d70d933 (2.2.1+)
*/
-#define _GNU_SOURCE /* syscall prototype */
+#define _GNU_SOURCE 1 /* syscall prototype */
#include <stddef.h>
#include <string.h> /* memset(), memcpy() */