summaryrefslogtreecommitdiff
path: root/sysdeps/generic/sys/param.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/sys/param.h')
-rw-r--r--sysdeps/generic/sys/param.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysdeps/generic/sys/param.h b/sysdeps/generic/sys/param.h
new file mode 100644
index 0000000000..1dafdda403
--- /dev/null
+++ b/sysdeps/generic/sys/param.h
@@ -0,0 +1,14 @@
+/* This file should contain various parameter macros appropriate for the
+ machine and operating system. There is no standard set of macros; this
+ file is just for compatibility with programs written for Unix that
+ expect it to define things. On Unix systems that do not have their own
+ sysdep version of this file, it is generated at build time by examining
+ the installed headers on the system. */
+
+#include <limits.h>
+
+#define MAXSYMLINKS 1
+
+/* Macros for min/max. */
+#define MIN(a,b) (((a)<(b))?(a):(b))
+#define MAX(a,b) (((a)>(b))?(a):(b))