diff options
| author | Paul Eggert | 2011-02-21 15:22:34 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-02-21 15:22:34 -0800 |
| commit | ba01e9d785457898d873d6c8ec8bc1965fe4ff28 (patch) | |
| tree | 99a3172a81506b150c963135ce1d264034222265 /lib | |
| parent | 08c690977a76a2a899bfe42056e9ae3a7efebcb3 (diff) | |
| download | emacs-ba01e9d785457898d873d6c8ec8bc1965fe4ff28.tar.gz emacs-ba01e9d785457898d873d6c8ec8bc1965fe4ff28.zip | |
[ChangeLog]
* lib/min-max.h: New file, for "min" and "max".
[lib-src/ChangeLog]
New file "lib/min-max.h".
* ebrowse.c (min, max): Define them by including <min-max.h>
instead of defining it ourselves.
* pop.c (min): Likewise.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/min-max.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/min-max.h b/lib/min-max.h new file mode 100644 index 00000000000..997cdd191eb --- /dev/null +++ b/lib/min-max.h | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | #ifndef min | ||
| 2 | # define min(a,b) ((a) < (b) ? (a) : (b)) | ||
| 3 | #endif | ||
| 4 | #ifndef max | ||
| 5 | # define max(a,b) ((a) > (b) ? (a) : (b)) | ||
| 6 | #endif | ||