[2.7] bpo-30797: Avoid _GNU_SOURCE redefined warning in xmlparse.c (G… · python/cpython@884c4ca (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Commit 884c4ca

segevfinervstinner

authored and

committed

* [2.7] Avoid _GNU_SOURCE redefined warning in xmlparse.c (GH-2670) (cherry picked from commit f523255) * [2.7] Avoid _GNU_SOURCE redefined warning in xmlparse.c (GH-2670). (cherry picked from commit f523255)

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
4 4 77fea421d361dca90041d0040ecf1dca651167fadf2af79e990e35168d70d933 (2.2.1+)
5 5 */
6 6
7 -#define _GNU_SOURCE /* syscall prototype */
7 +#define _GNU_SOURCE 1 /* syscall prototype */
8 8
9 9 #include <stddef.h>
10 10 #include <string.h> /* memset(), memcpy() */