mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-28 04:42:11 +08:00
feat(newlib): Update newlib library and header file
This commit is contained in:
@ -2,4 +2,4 @@ README
|
|||||||
|
|
||||||
Information of newlib is following:
|
Information of newlib is following:
|
||||||
|
|
||||||
commit: 19df868f
|
commit: 1fc9ee20
|
||||||
|
@ -69,7 +69,7 @@
|
|||||||
/* #undef _UINTPTR_EQ_ULONGLONG */
|
/* #undef _UINTPTR_EQ_ULONGLONG */
|
||||||
|
|
||||||
/* Define if ivo supported in streamio. */
|
/* Define if ivo supported in streamio. */
|
||||||
/* #undef _FVWRITE_IN_STREAMIO */
|
#define _FVWRITE_IN_STREAMIO 1
|
||||||
|
|
||||||
/* Define if fseek functions support seek optimization. */
|
/* Define if fseek functions support seek optimization. */
|
||||||
#define _FSEEK_OPTIMIZATION 1
|
#define _FSEEK_OPTIMIZATION 1
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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);
|
|
||||||
}
|
|
Reference in New Issue
Block a user