[Python-checkins] no-issue: Make silence about warning '_POSIX_C_SOURCE redefined' (GH-28948)

corona10 webhook-mailer at python.org
Thu Oct 14 12:00:06 EDT 2021


https://github.com/python/cpython/commit/d413c503636cde2a6ab0ada25dccb0134633a8e6
commit: d413c503636cde2a6ab0ada25dccb0134633a8e6
branch: main
author: Dong-hee Na <donghee.na at python.org>
committer: corona10 <donghee.na92 at gmail.com>
date: 2021-10-15T00:59:56+09:00
summary:

no-issue: Make silence about  warning '_POSIX_C_SOURCE redefined' (GH-28948)

files:
M Modules/expat/xmltok.c

diff --git a/Modules/expat/xmltok.c b/Modules/expat/xmltok.c
index f2b6b406067ea..5b935718743ad 100644
--- a/Modules/expat/xmltok.c
+++ b/Modules/expat/xmltok.c
@@ -42,16 +42,16 @@
    USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
 
-#include <stddef.h>
-#include <string.h> /* memcpy */
-#include <stdbool.h>
-
 #ifdef _WIN32
 #  include "winconfig.h"
 #endif
 
 #include <expat_config.h>
 
+#include <stddef.h>
+#include <string.h> /* memcpy */
+#include <stdbool.h>
+
 #include "expat_external.h"
 #include "internal.h"
 #include "xmltok.h"



More information about the Python-checkins mailing list