Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/sys/param.h')
-rw-r--r--newlib/libc/include/sys/param.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/param.h b/newlib/libc/include/sys/param.h
index 4e8e56285..9676c910a 100644
--- a/newlib/libc/include/sys/param.h
+++ b/newlib/libc/include/sys/param.h
@@ -18,6 +18,9 @@
# define NOFILE (60)
# define PATHSIZE (1024)
+#define MAX(a,b) ((a) > (b) ? (a) : (b))
+#define MIN(a,b) ((a) < (b) ? (a) : (b))
+
#ifndef BYTE_ORDER
#ifdef __IEEE_LITTLE_ENDIAN
#define BYTE_ORDER LITTLE_ENDIAN