bpo-37731: Squish another _POSIX_C_SOURCE redefinition problem in expat. (GH-17077)
This commit is contained in:
parent
30114c7119
commit
089e5f52a3
|
@ -39,6 +39,12 @@
|
||||||
# define _CRT_RAND_S
|
# define _CRT_RAND_S
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
# include "winconfig.h"
|
||||||
|
#elif defined(HAVE_EXPAT_CONFIG_H)
|
||||||
|
# include <expat_config.h>
|
||||||
|
#endif /* ndef _WIN32 */
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <string.h> /* memset(), memcpy() */
|
#include <string.h> /* memset(), memcpy() */
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
@ -58,12 +64,6 @@
|
||||||
|
|
||||||
#define XML_BUILDING_EXPAT 1
|
#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 "ascii.h"
|
||||||
#include "expat.h"
|
#include "expat.h"
|
||||||
#include "siphash.h"
|
#include "siphash.h"
|
||||||
|
|
Loading…
Reference in New Issue