Skip to content

Commit 884c4ca

Browse files
segevfinervstinner
authored andcommitted
[2.7] bpo-30797: Avoid _GNU_SOURCE redefined warning in xmlparse.c (GH-2670) (#2672)
* [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)
1 parent bfa4fe4 commit 884c4ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/expat/xmlparse.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
77fea421d361dca90041d0040ecf1dca651167fadf2af79e990e35168d70d933 (2.2.1+)
55
*/
66

7-
#define _GNU_SOURCE /* syscall prototype */
7+
#define _GNU_SOURCE 1 /* syscall prototype */
88

99
#include <stddef.h>
1010
#include <string.h> /* memset(), memcpy() */

0 commit comments

Comments
 (0)