diff options
author | ru <ru@FreeBSD.org> | 2003-06-18 12:57:43 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-06-18 12:57:43 +0000 |
commit | b0465e4534c37946b9f157053a91a25b88ee6c6f (patch) | |
tree | 92a83a9292c9ea3b8a8e235e830bf6581591579e /contrib/texinfo/lib/system.h | |
parent | 1e2af4f2c82dd1396d247a2b5fe032b13c51189a (diff) | |
download | FreeBSD-src-b0465e4534c37946b9f157053a91a25b88ee6c6f.zip FreeBSD-src-b0465e4534c37946b9f157053a91a25b88ee6c6f.tar.gz |
Import of stripped down GNU texinfo 4.6
Diffstat (limited to 'contrib/texinfo/lib/system.h')
-rw-r--r-- | contrib/texinfo/lib/system.h | 15 |
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 */ |