summaryrefslogtreecommitdiffstats
path: root/contrib/texinfo/lib/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/texinfo/lib/system.h')
-rw-r--r--contrib/texinfo/lib/system.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/contrib/texinfo/lib/system.h b/contrib/texinfo/lib/system.h
index e001f0c..f2bbf22 100644
--- a/contrib/texinfo/lib/system.h
+++ b/contrib/texinfo/lib/system.h
@@ -1,7 +1,7 @@
/* system.h: system-dependent declarations; include this first.
- $Id: system.h,v 1.4 2002/10/31 13:44:06 karl Exp $
+ $Id: system.h,v 1.5 2003/03/22 17:40:39 karl Exp $
- Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Free Software
+ Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
Foundation, Inc.
This program is free software; you can redistribute it and/or modify
@@ -258,4 +258,15 @@ extern void xexit ();
/* For convenience. */
#define STREQ(s1,s2) (strcmp (s1, s2) == 0)
+/* We don't need anything fancy. If we did need something fancy, gnulib
+ has it. */
+#ifdef MIN
+#undef MIN
+#endif
+#define MIN(a,b) ((a) < (b) ? (a) : (b))
+#ifdef MAX
+#undef MAX
+#endif
+#define MAX(a,b) ((a) > (b) ? (a) : (b))
+
#endif /* TEXINFO_SYSTEM_H */
OpenPOWER on IntegriCloud