mirror of
https://github.com/fluencelabs/musl
synced 2025-06-24 04:01:56 +00:00
add MIN/MAX macros to sys/param.h
this is a nonstandard junk header anyway, so just do what apps expect..
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user