Compare commits
2
Commits
04b8f9d7a3
...
c915c064e8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c915c064e8 | ||
|
|
895c586736 |
+2
-1
@@ -131,7 +131,8 @@ build_gcc () {
|
|||||||
--enable-lto \
|
--enable-lto \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
--enable-languages=c,c++ \
|
--enable-languages=c,c++ \
|
||||||
CXXFLAGS='-fno-char8_t'
|
CFLAGS='-O2' \
|
||||||
|
CXXFLAGS='-O2 -fno-char8_t'
|
||||||
|
|
||||||
XCFLAGS=""
|
XCFLAGS=""
|
||||||
if [ $BANAN_ARCH = "x86_64" ]; then
|
if [ $BANAN_ARCH = "x86_64" ]; then
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
#ifndef _UCHAR_H
|
||||||
|
#define _UCHAR_H 1
|
||||||
|
|
||||||
|
// https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/uchar.h.html
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
|
__BEGIN_DECLS
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <wchar.h>
|
||||||
|
|
||||||
|
size_t c16rtomb(char* __restrict__ s, char16_t c16, mbstate_t* __restrict__ ps);
|
||||||
|
size_t c32rtomb(char* __restrict__ s, char32_t c32, mbstate_t* __restrict__ ps);
|
||||||
|
size_t mbrtoc16(char16_t* __restrict__ pc16, const char* __restrict__ s, size_t n, mbstate_t* __restrict__ ps);
|
||||||
|
size_t mbrtoc32(char32_t* __restrict__ pc32, const char* __restrict__ s, size_t n, mbstate_t* __restrict__ ps);
|
||||||
|
|
||||||
|
__END_DECLS
|
||||||
|
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user