libc: update to upstream master.

This commit is contained in:
Our Air Quality 2017-09-21 21:46:20 +10:00
parent 1e76ce25d5
commit 6080bb6ef2
19 changed files with 281 additions and 24 deletions

View file

@ -75,7 +75,7 @@
#define _POINTER_INT short
#endif
#if defined(__m68k__) || defined(__mc68000__)
#if defined(__m68k__) || defined(__mc68000__) || defined(__riscv)
#define _READ_WRITE_RETURN_TYPE _ssize_t
#endif
@ -154,6 +154,7 @@
#define _REENT_SMALL
#endif
#define __BUFSIZ__ 256
#define __SMALL_BITFIELDS
#ifdef __MSP430X_LARGE__
@ -289,6 +290,12 @@
#endif
#endif
#ifdef _WANT_USE_LONG_TIME_T
#ifndef _USE_LONG_TIME_T
#define _USE_LONG_TIME_T
#endif
#endif
/* If _MB_EXTENDED_CHARSETS_ALL is set, we want all of the extended
charsets. The extended charsets add a few functions and a couple
of tables of a few K each. */