Skip to content

Commit bdabd76

Browse files
committed
bpo-30797, bpo-30694: Avoid _GNU_SOURCE redefined warning in xmlparse.c (#2615)
(cherry picked from commit 05b72ed)
1 parent d1d6501 commit bdabd76

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)