summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSegev Finer <segev208@gmail.com>2017-07-11 22:16:31 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-07-11 22:16:31 (GMT)
commit31d8c0da60f07f5eea430ce2f471a67c3d60f394 (patch)
treed2dd81eee63ec59249168514b758b649d3809e4e /Modules
parent44eb51e6fcf45f3c2bf21c16e18c4da48a23d2d3 (diff)
downloadcpython-31d8c0da60f07f5eea430ce2f471a67c3d60f394.zip
cpython-31d8c0da60f07f5eea430ce2f471a67c3d60f394.tar.gz
cpython-31d8c0da60f07f5eea430ce2f471a67c3d60f394.tar.bz2
[3.5] Avoid _GNU_SOURCE redefined warning in xmlparse.c (GH-2670) (#2671)
(cherry picked from commit f52325598e7a9683787d76a42009fc16790a0089)
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() */