Luna/libc/include/sys/param.h
apio dcb8ab569a
All checks were successful
continuous-integration/drone/push Build is passing
libc: Add basic sys/param.h for programs that want it
2023-05-31 22:15:22 +02:00

17 lines
241 B
C

/* sys/param.h: Old-style BSD macros. */
#ifndef _SYS_PARAM_H
#define _SYS_PARAM_H
#include <limits.h>
#ifndef MIN
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
#endif
#ifndef MAX
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
#endif
#endif