Skip to content

Commit

Permalink
Avoid _GNU_SOURCE redefined warning in xmlparse.c (#2670)
Browse files Browse the repository at this point in the history
  • Loading branch information
segevfiner authored and vstinner committed Jul 11, 2017
1 parent ba35227 commit f523255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/expat/xmlparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -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() */
Expand Down

0 comments on commit f523255

Please sign in to comment.