summaryrefslogtreecommitdiff
path: root/m68k-unknown-amigaos
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2018-02-05 18:33:08 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2018-07-23 18:41:07 +0100
commit18117de6a9cb184dca13ef7c08c9cbfc6fcc44a3 (patch)
tree56fe28fdc441ff5dc279eb9442bd6160211cfb58 /m68k-unknown-amigaos
parentbb691240929be53604664236239686493a7e6127 (diff)
downloadtoolchains-18117de6a9cb184dca13ef7c08c9cbfc6fcc44a3.tar.gz
toolchains-18117de6a9cb184dca13ef7c08c9cbfc6fcc44a3.tar.bz2
Add a missing typedef for locale_t
(clib2 maintainer is aware of this issue)
Diffstat (limited to 'm68k-unknown-amigaos')
-rw-r--r--m68k-unknown-amigaos/recipes/patches/clib2/clib2.include.wchar.h.p10
1 files changed, 10 insertions, 0 deletions
diff --git a/m68k-unknown-amigaos/recipes/patches/clib2/clib2.include.wchar.h.p b/m68k-unknown-amigaos/recipes/patches/clib2/clib2.include.wchar.h.p
new file mode 100644
index 0000000..968c3d0
--- /dev/null
+++ b/m68k-unknown-amigaos/recipes/patches/clib2/clib2.include.wchar.h.p
@@ -0,0 +1,10 @@
+--- include/wchar.h 2018-02-05 18:23:54.079257195 +0000
++++ include/wchar.h 2018-02-05 18:27:58.781471125 +0000
+@@ -175,6 +175,7 @@ extern size_t wcsftime(wchar_t *s, size_
+ /****************************************************************************/
+
+ #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
++typedef void *locale_t;
+
+ extern long long wcstoll(const wchar_t *str, wchar_t **ptr, int base);
+ extern unsigned long long wcstoull(const wchar_t *str, wchar_t **ptr, int base);