Commit 096e8667 authored by Glenn Morris's avatar Glenn Morris
Browse files

Johannes Weiner <hannes at saeurebad.de>

(abs): Define if unknown.
parent 7a58fb43
......@@ -3399,6 +3399,11 @@ extern Lisp_Object Vdirectory_sep_char;
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
/* Make sure we have abs defined */
#if !defined(abs)
#define abs(x) ((x) < 0 ? -(x) : (x))
#endif
/* Return a fixnum or float, depending on whether VAL fits in a Lisp
fixnum. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment