aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2007-09-23 02:04:23 +0000
committerGlenn Morris2007-09-23 02:04:23 +0000
commit096e8667db901bfa509d981c319048ccb64e948c (patch)
tree75aabf8abd0c26aa19516024f5e0102b14d456eb /src
parent7a58fb43f6d8d8d213370976f5e76cf57966f3dd (diff)
downloademacs-096e8667db901bfa509d981c319048ccb64e948c.tar.gz
emacs-096e8667db901bfa509d981c319048ccb64e948c.zip
Johannes Weiner <hannes at saeurebad.de>
(abs): Define if unknown.
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 d5adb8f9e49..65ea46fae1f 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -3399,6 +3399,11 @@ extern Lisp_Object Vdirectory_sep_char;
3399#define min(a, b) ((a) < (b) ? (a) : (b)) 3399#define min(a, b) ((a) < (b) ? (a) : (b))
3400#define max(a, b) ((a) > (b) ? (a) : (b)) 3400#define max(a, b) ((a) > (b) ? (a) : (b))
3401 3401
3402/* Make sure we have abs defined */
3403#if !defined(abs)
3404#define abs(x) ((x) < 0 ? -(x) : (x))
3405#endif
3406
3402/* Return a fixnum or float, depending on whether VAL fits in a Lisp 3407/* Return a fixnum or float, depending on whether VAL fits in a Lisp
3403 fixnum. */ 3408 fixnum. */
3404 3409