提交 6a193804 编写于 作者: R Rich Felker

add MIN/MAX macros to sys/param.h

this is a nonstandard junk header anyway, so just do what apps expect..
上级 477e72ac
......@@ -10,6 +10,11 @@
#undef MAXPATHLEN
#define MAXPATHLEN 4096
#undef MIN
#undef MAX
#define MIN(a,b) (((a)<(b))?(a):(b))
#define MAX(a,b) (((a)>(b))?(a):(b))
#include <sys/resource.h>
#include <endian.h>
#include <limits.h>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册