newlib: fixed error handling in write()

git-svn-id: svn://kolibrios.org@6330 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge)
2016-03-13 00:52:58 +00:00
parent f29da4d0ec
commit b141c63200
3 changed files with 30 additions and 23 deletions

View File

@@ -40,9 +40,10 @@ int _EXFUN(toascii, (int __c));
#define _B 0200
#ifndef _MB_CAPABLE
_CONST
extern _CONST __IMPORT char *__ctype_ptr__;
#else
extern __IMPORT char *__ctype_ptr__;
#endif
extern __IMPORT char *__ctype_ptr__;
#ifndef __cplusplus
/* These macros are intentionally written in a manner that will trigger