提交 450e5f92 编写于 作者: O openharmony_ci 提交者: Gitee

!14 修复limits.h中部分宏定义

Merge pull request !14 from Zhaotianyu/0406limits
......@@ -5,6 +5,8 @@
#include <bits/alltypes.h> /* __LONG_MAX */
#include "los_config.h"
#ifndef PAGE_SIZE
#define PAGE_SIZE 4096
#endif
......
#include "stdio_impl.h"
#include <errno.h>
#include <ctype.h>
/* Undef the CHAR macro definition in los_typedef.h to avoid conflicts with the following CHAR */
#define CHAR _CHAR
#include <limits.h>
#undef CHAR
#include <string.h>
#include <stdarg.h>
#include <stddef.h>
......
......@@ -70,9 +70,9 @@
#define PTHREAD_KEYS_MAX 128
#define PTHREAD_STACK_MIN 2048
#define PTHREAD_DESTRUCTOR_ITERATIONS 4
#define SEM_VALUE_MAX 0x7fffffff
#define SEM_VALUE_MAX 0xffff
#define SEM_NSEMS_MAX 256
#define DELAYTIMER_MAX 0x7fffffff
#define DELAYTIMER_MAX 32
#define MQ_PRIO_MAX 32768
#define LOGIN_NAME_MAX 256
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册