File 0012-Define-UINT-on-MINGW.patch of Package mingw64-python3

From 31c179d9593c80c5fe7f4d507fae7fbb93ff6635 Mon Sep 17 00:00:00 2001
From: Ralf Habacker <ralf.habacker@freenet.de>
Date: Fri, 2 Sep 2022 12:12:45 +0200
Subject: [PATCH 12/12] Define UINT on MINGW

---
 cmake/config-mingw/pyconfig.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/cmake/config-mingw/pyconfig.h b/cmake/config-mingw/pyconfig.h
index fea95b2..f688e08 100644
--- a/cmake/config-mingw/pyconfig.h
+++ b/cmake/config-mingw/pyconfig.h
@@ -570,4 +570,7 @@ Py_NO_ENABLE_SHARED to find out.  Also support MS_NO_COREDLL for b/w compat */
 
 #cmakedefine SIZEOF__BOOL @SIZEOF__BOOL@
 
+/* UINT */
+#include <minwindef.h>
+
 #endif /* !Py_CONFIG_H */
-- 
2.35.3

openSUSE Build Service is sponsored by