未验证 提交 51802620 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #2837 from BernardXiong/fix_dlib

[dlib] Add more header files for IAR/dlib
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2019-07-08 Bernard The first version
*/
#ifndef SYS_ERRNO_H__
#define SYS_ERRNO_H__
#include <errno.h>
#endif
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2019-07-08 Bernard The first version
*/
#ifndef SYS_SIGNAL_H__
#define SYS_SIGNAL_H__
#include <libc/libc_signal.h>
#endif
......@@ -34,14 +34,6 @@
#define _FNDELAY _FNONBLOCK /* non blocking I/O (4.2 style) */
#define _FNOCTTY 0x8000 /* don't assign a ctty on this open */
#define O_RDONLY 0 /* +1 == FREAD */
#define O_WRONLY 1 /* +1 == FWRITE */
#define O_RDWR 2 /* +1 == FREAD|FWRITE */
#define O_APPEND _FAPPEND
#define O_CREAT _FCREAT
#define O_TRUNC _FTRUNC
#define O_EXCL _FEXCL
#define O_SYNC _FSYNC
#endif
#endif /* _SYS_UNISTD_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册