From: Segev Finer Date: Tue, 11 Jul 2017 22:16:31 +0000 (+0300) Subject: [3.5] Avoid _GNU_SOURCE redefined warning in xmlparse.c (GH-2670) (#2671) X-Git-Tag: v3.5.4rc1~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=31d8c0da60f07f5eea430ce2f471a67c3d60f394;p=thirdparty%2FPython%2Fcpython.git [3.5] Avoid _GNU_SOURCE redefined warning in xmlparse.c (GH-2670) (#2671) (cherry picked from commit f52325598e7a9683787d76a42009fc16790a0089) --- diff --git a/Modules/expat/xmlparse.c b/Modules/expat/xmlparse.c index 76f078e2505f..daec151e232f 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 #include /* memset(), memcpy() */