blob: f0e294595e7cb0ad83d7677843f6f22591808691 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-aj,v 1.2 2000/10/18 11:22:44 rh Exp $
--- ../amp.h.orig Tue Aug 19 05:33:30 1997
+++ ../amp.h Sun Oct 1 15:47:56 2000
@@ -13,10 +13,17 @@
#define MINOR 7
#define PATCH 6
+#ifdef OS_NetBSD
+#include <sys/param.h>
+#endif
+
+#ifndef OS_NetBSD
#define MAX(a,b) ((a) > (b) ? (a) : (b))
+#endif
#define MAX3(a,b,c) ((a) > (b) ? MAX(a, c) : MAX(b, c))
+#ifndef OS_NetBSD
#define MIN(a,b) ((a) < (b) ? (a) : (b))
-
+#endif
/* Debugging flags */
|