Skip to content

Commit

Permalink
bpo-37731: Squish another _POSIX_C_SOURCE redefinition problem in exp…
Browse files Browse the repository at this point in the history
…at. (GH-17077)
  • Loading branch information
benjaminp committed Nov 7, 2019
1 parent 30114c7 commit 089e5f5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Modules/expat/xmlparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
# define _CRT_RAND_S
#endif

#ifdef _WIN32
# include "winconfig.h"
#elif defined(HAVE_EXPAT_CONFIG_H)
# include <expat_config.h>
#endif /* ndef _WIN32 */

#include <stddef.h>
#include <string.h> /* memset(), memcpy() */
#include <assert.h>
Expand All @@ -58,12 +64,6 @@

#define XML_BUILDING_EXPAT 1

#ifdef _WIN32
# include "winconfig.h"
#elif defined(HAVE_EXPAT_CONFIG_H)
# include <expat_config.h>
#endif /* ndef _WIN32 */

#include "ascii.h"
#include "expat.h"
#include "siphash.h"
Expand Down

0 comments on commit 089e5f5

Please sign in to comment.