提交 8894947b 编写于 作者: R Rich Felker

protect some limit constants with feature test macros on x86_64

上级 f4514620
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
#define PIPE_BUF 4096 #define PIPE_BUF 4096
#define PAGESIZE 4096 #define PAGESIZE 4096
#define PAGE_SIZE PAGESIZE #define PAGE_SIZE PAGESIZE
...@@ -10,9 +12,9 @@ ...@@ -10,9 +12,9 @@
#define ARG_MAX 131072 #define ARG_MAX 131072
#define IOV_MAX 1024 #define IOV_MAX 1024
#define SYMLOOP_MAX 40 #define SYMLOOP_MAX 40
#define WORD_BIT 64 #define WORD_BIT 64
#define LONG_BIT 64 #define LONG_BIT 64
#endif
#define SHRT_MIN (-1-0x7fff) #define SHRT_MIN (-1-0x7fff)
#define SHRT_MAX 0x7fff #define SHRT_MAX 0x7fff
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册