File 0013-Remove-macro-PREFIX-which-conflicts-a-type-with-the-.patch of Package mingw64-python3

From a514a7200a3a849f22cfc0e48b0fb72851693888 Mon Sep 17 00:00:00 2001
From: Ralf Habacker <ralf.habacker@freenet.de>
Date: Mon, 17 Oct 2022 09:57:06 +0200
Subject: [PATCH] Remove macro PREFIX which conflicts a type with the same name
 from expat library

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

diff --git a/cmake/config-mingw/pyconfig.h b/cmake/config-mingw/pyconfig.h
index 5af0378..1e6a74e 100644
--- a/cmake/config-mingw/pyconfig.h
+++ b/cmake/config-mingw/pyconfig.h
@@ -35,7 +35,8 @@ WIN32 is still required for the locale module.
 #define DONT_HAVE_SIG_PAUSE
 #define LONG_BIT  32
 #define WORD_BIT 32
-#define PREFIX ""
+/* conflicts with PREFIX type from expat library */
+/* #define PREFIX "" */
 #define EXEC_PREFIX ""
 
 #define MS_WIN32 /* only support win32 and greater. */
-- 
2.34.1

openSUSE Build Service is sponsored by