Johannes Weiner <hannes at saeurebad.de>

(abs): Define if unknown.
This commit is contained in:
Glenn Morris 2007-09-23 02:04:23 +00:00
parent 7a58fb43f6
commit 096e8667db

View file

@ -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. */