aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-10-08 07:59:17 +0000
committerGerd Moellmann2001-10-08 07:59:17 +0000
commit8a226de76604e91d83b7204443b0fed5f9b5789e (patch)
treecb4dcdd844ada74cbd9c3f52cabd138c05823c12 /src
parent55fa782068761482423ba789cbed4056c8f123ea (diff)
downloademacs-8a226de76604e91d83b7204443b0fed5f9b5789e.tar.gz
emacs-8a226de76604e91d83b7204443b0fed5f9b5789e.zip
(min, max): New macros.
Diffstat (limited to 'src')
-rw-r--r--src/lisp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lisp.h b/src/lisp.h
index b483e72cef7..5a1b336aaff 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -3101,3 +3101,8 @@ extern Lisp_Object Vdirectory_sep_char;
3101 (EQ (hare, tortoise) \ 3101 (EQ (hare, tortoise) \
3102 && (circular_list_error ((list)), 1))) \ 3102 && (circular_list_error ((list)), 1))) \
3103 : 0))) 3103 : 0)))
3104
3105/* The ubiquitous min and max macros. */
3106
3107#define min(a, b) ((a) < (b) ? (a) : (b))
3108#define max(a, b) ((a) > (b) ? (a) : (b))