musl/include/sys/param.h
Rich Felker 6a193804a8 add MIN/MAX macros to sys/param.h
this is a nonstandard junk header anyway, so just do what apps expect..
2012-01-24 22:51:27 -05:00

21 lines
338 B
C

#undef MAXSYMLINKS
#define MAXSYMLINKS 20
#undef MAXHOSTNAMELEN
#define MAXHOSTNAMELEN 64
#undef MAXNAMLEN
#define MAXNAMLEN 255
#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>