Warning, /graphics/krita/3rdparty/ext_gettext/0005-win-Fix-missing-declarations-from-wchar.h.patch is written in an unsupported language. File is not indexed.
0001 From 5d4d0937bc75646237952447fdb4cfdb2e8a5137 Mon Sep 17 00:00:00 2001 0002 From: Alvin Wong <alvinhochun@gmail.com> 0003 Date: Wed, 7 Sep 2022 19:00:22 +0800 0004 Subject: [PATCH] win: Fix missing declarations from wchar.h 0005 0006 --- 0007 gettext-runtime/intl/gettextP.h | 4 ++++ 0008 1 file changed, 4 insertions(+) 0009 0010 diff --git a/gettext-runtime/intl/gettextP.h b/gettext-runtime/intl/gettextP.h 0011 index 1efeb192c..b05c20bf3 100644 0012 --- a/gettext-runtime/intl/gettextP.h 0013 +++ b/gettext-runtime/intl/gettextP.h 0014 @@ -36,6 +36,10 @@ 0015 # include "lock.h" 0016 #endif 0017 0018 +#if defined _WIN32 && !defined __CYGWIN__ 0019 +# include <wchar.h> 0020 +#endif 0021 + 0022 #ifdef _LIBC 0023 struct loaded_domain; 0024 extern char *__gettext (const char *__msgid); 0025 -- 0026 2.37.1 0027