提交 b1b998df 编写于 作者: A arvinzzz

Description: Fix some macro definitions of limits.h.

Change-Id: I388c76eb10f884dc3608c39ffa29d7f7431b1bc0
上级 858d4cba
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
#include <bits/alltypes.h> /* __LONG_MAX */ #include <bits/alltypes.h> /* __LONG_MAX */
#include "los_config.h"
#ifndef PAGE_SIZE #ifndef PAGE_SIZE
#define PAGE_SIZE 4096 #define PAGE_SIZE 4096
#endif #endif
......
#include "stdio_impl.h" #include "stdio_impl.h"
#include <errno.h> #include <errno.h>
#include <ctype.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> #include <limits.h>
#undef CHAR
#include <string.h> #include <string.h>
#include <stdarg.h> #include <stdarg.h>
#include <stddef.h> #include <stddef.h>
......
...@@ -70,9 +70,9 @@ ...@@ -70,9 +70,9 @@
#define PTHREAD_KEYS_MAX 128 #define PTHREAD_KEYS_MAX 128
#define PTHREAD_STACK_MIN 2048 #define PTHREAD_STACK_MIN 2048
#define PTHREAD_DESTRUCTOR_ITERATIONS 4 #define PTHREAD_DESTRUCTOR_ITERATIONS 4
#define SEM_VALUE_MAX 0x7fffffff #define SEM_VALUE_MAX 0xffff
#define SEM_NSEMS_MAX 256 #define SEM_NSEMS_MAX 256
#define DELAYTIMER_MAX 0x7fffffff #define DELAYTIMER_MAX 32
#define MQ_PRIO_MAX 32768 #define MQ_PRIO_MAX 32768
#define LOGIN_NAME_MAX 256 #define LOGIN_NAME_MAX 256
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册