Commit Graph

282 Commits

Author SHA1 Message Date
Bernard Xiong 4515c21d29
Merge pull request #3942 from mysterywolf/unsitd
[fixed] 在keil环境下 compilers\armlibc\sys\unistd.h 与 libc_fcntl.h的宏定义发生了…
2020-10-11 09:39:13 +08:00
Bernard Xiong a5cd7e7abd
Merge pull request #3944 from mysterywolf/libc
[fix bug] #3902
2020-10-11 09:37:38 +08:00
mysterywolf 96acad78ba 将posix_getline.h termios.h 头文件包含从<>改为""以防止路径出现分歧 2020-10-03 00:31:49 +08:00
mysterywolf c7aa6f0619 [fix bug] #3902 2020-10-02 12:00:52 +08:00
Meco Man 60b1b87903
[fixed] 在keil环境下 compilers\armlibc\sys\unistd.h 与 libc_fcntl.h的宏定义发生了重复定义的冲突 2020-10-02 11:22:17 +08:00
mysterywolf b3ab8a99e1 Signed-off-by: mysterywolf 2020-09-09 08:59:39 +08:00
mysterywolf 28e0c99d00 Signed-off-by: mysterywolf 2020-09-09 00:53:53 +08:00
mysterywolf 4305a678a3 修改common文件夹的sconscript 并 取消并恢复上一个commit的提交内容 2020-09-08 16:29:47 +08:00
mysterywolf ff097f0467 增加 __GNUC__宏定义 和sconscript的平台识别以避免重复定义 2020-09-08 13:16:49 +08:00
mysterywolf 0607ff84ab 解决minilibc time.c和newlibc仅定义RT_LIBC_USING_TIME时冲突的问题 2020-09-08 11:12:56 +08:00
mysterywolf f021cb982a 修改common下的sconscript脚本文件,增加unistd.c排除条件 2020-09-08 10:52:02 +08:00
mysterywolf 5eccf51b61 Signed-off-by: mysterywolf 2020-09-08 10:29:17 +08:00
mysterywolf 237a71de27 修复common文件夹,该文件夹为armlibc/newlib/dlib的共同文件的文件夹 2020-09-08 10:26:03 +08:00
mysterywolf 05190990b4 增加posix_getline.c/.h版权信息 2020-09-05 22:09:22 +08:00
mysterywolf 443978eb78 增加RT_USING_POSIX_GETLINE用于单独控制是否启用getline函数,并修改Kconfig增加对应选项 2020-09-05 19:47:34 +08:00
mysterywolf f13014526c [bug fix]对各个libc库的termios.h增加宏定义,以防止在termios函数没有定义时,将posix_termios.h头文件引入导致报错 2020-09-05 17:52:32 +08:00
mysterywolf 6eb62a3f9d 将unistd.c不再放在common中,分散到各个库中 2020-09-05 17:50:54 +08:00
mysterywolf 8a08be6b9e [fix bugs]修改armlibc/sys/types.h 该文件中不能用rt_数据类型,否则会引起编译器递归编译 2020-09-05 17:41:54 +08:00
mysterywolf d5d8b345f4 修改libc_signal.h 该文件中不能用rt_数据类型,否则会引起编译器递归编译 2020-09-05 16:59:53 +08:00
mysterywolf 74ab1551fd add posix 2008 limit.h 2020-09-05 16:14:21 +08:00
mysterywolf a41ebbb697 add posix functions getline/getdelim 2020-09-05 15:42:03 +08:00
mysterywolf 5721fa8990 Signed-off-by: mysterywolf 2020-09-02 10:33:37 +08:00
mysterywolf a162640f89 Signed-off-by: mysterywolf 2020-09-02 10:25:52 +08:00
mysterywolf 837604553b 增加unistd.c文件 2020-09-02 10:22:47 +08:00
mysterywolf 9b470d448d 取消isatty函数在本文件中的实现,转移到其他文件中 2020-09-02 10:18:52 +08:00
Meco 576475f14f change format 2020-08-05 09:28:10 +08:00
Meco f7ba4a6341 增加条件编译,防止RT_USING_DFS没有定义时 _sys_flen()出现编译警告:stat变量定义但没有被调用 的问题 2020-08-05 02:47:27 +08:00
Bernard Xiong be43008c56 [libc] remove pthread.h in newlib/syscalls.c 2020-06-06 13:23:56 +08:00
Bernard Xiong fe2e9e924e [libc] fix 64bit issue for pthreads 2020-06-06 13:21:32 +08:00
Bernard Xiong a4f1905b6d [libc] Fix pthreads compiling issue with new newlib version 2020-06-06 13:20:58 +08:00
Cliff Chen 42f9de1b42 [dlmodule] Fix crash when dlmodule exit
Signed-off-by: Cliff Chen <cliff.chen@rock-chips.com>
2020-05-15 17:53:55 +08:00
bigmagic 3d29ac8953 remove redefinition 'mode_t' 2020-04-11 22:35:02 +08:00
roger a3d6d47225 祛除了不必要的格式修改 2020-03-31 09:35:13 +08:00
roger 63a82cac47 在posix_termios.c中引用termios.h 2020-03-30 15:59:44 +08:00
roger 8601850a21 first commit 2020-03-30 15:21:58 +08:00
djndl1 48b9ab570f make clock_time.h available to C++ 2020-03-03 01:34:18 +08:00
tonyzheng-rockchip 1f5118f7dd Add priority & stack_size param parsing for dlmodule 2020-01-03 14:31:38 +08:00
tonyzheng-rockchip 04c20bc8ed Revert "Add priority & stack_size parameters for dlmodule custom"
This reverts commit f38b5a9f9f.
2020-01-03 09:18:51 +08:00
tonyzheng-rockchip f38b5a9f9f Add priority & stack_size parameters for dlmodule custom 2020-01-02 08:54:48 +08:00
tonyzheng-rockchip d910372010 Fix dlmodule must depends on file system issue
解决dlmodule只能依赖于文件系统的问题;
    增加dlmodule扩展接口,以适应更多需求;
2019-12-27 14:27:31 +08:00
Bernard Xiong b5e4aa58e0 [Kernel] Fix the signal compiling issue when using minilibc 2019-12-18 23:06:36 +08:00
qinpan1003 b838280d24 fix bug for pthread_create memory leak 2019-10-10 22:42:14 +08:00
zhangjun f7e7170536 [components][libc][compilers][newlib]添加flock接口 2019-09-26 14:34:59 +08:00
zhangjun 8ed3daed5f [components][libc][compilers][newlib]添加getuid和umask函数 2019-09-26 11:27:37 +08:00
liruncong 408bb22af6 [components/libc/compilers]撤销由VS编辑器在键入}后自动引起的缩进 2019-09-15 11:47:11 +08:00
liruncong d76d30cf50 [components/libc/compilers]c++文件引用libc.h支持 2019-09-14 22:52:06 +08:00
zhangjun 3f39059217 [components][libc][compilers][common]移除time.c中未使用的变量timezone 2019-09-11 18:51:10 +08:00
zhangjun a186ada6da [components][libc][compilers]移动time相关头文件到common目录 2019-09-10 09:59:11 +08:00
yangjie 27222e9cd8 [compilers][libc] 在 minilibc 的 math.h 中增加 float_t 与 double_t 的定义 2019-09-07 18:06:03 +08:00
zhangjun dabe951415 [components][libc][common]修改__IAR_SYSTEMS_ICC__宏定义的作用范围 2019-09-02 14:52:32 +08:00