feat(newlib): Update newlib library and header file

This commit is contained in:
Dong Heng
2018-05-17 18:53:54 +08:00
parent 48e013f124
commit 12c66c582b
6 changed files with 2 additions and 28 deletions

View File

@ -2,4 +2,4 @@ README
Information of newlib is following:
commit: 19df868f
commit: 1fc9ee20

View File

@ -69,7 +69,7 @@
/* #undef _UINTPTR_EQ_ULONGLONG */
/* Define if ivo supported in streamio. */
/* #undef _FVWRITE_IN_STREAMIO */
#define _FVWRITE_IN_STREAMIO 1
/* Define if fseek functions support seek optimization. */
#define _FSEEK_OPTIMIZATION 1

Binary file not shown.

Binary file not shown.

View File

@ -1,26 +0,0 @@
// Copyright 2018-2019 Espressif Systems (Shanghai) PTE LTD
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include <_ansi.h>
#include <stdio.h>
int _fputc_r(struct _reent *ptr, int ch, FILE *fp)
{
return fp->_write(ptr, fp->_cookie, (char *)&ch, 1);
}
int fputc(int ch, FILE *fp)
{
return _fputc_r (_REENT, ch, fp);
}