mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 11:23:24 +00:00
Johannes Weiner <hannes at saeurebad.de>
(abs): Define if unknown.
This commit is contained in:
parent
7a58fb43f6
commit
096e8667db
1 changed files with 5 additions and 0 deletions
|
@ -3399,6 +3399,11 @@ extern Lisp_Object Vdirectory_sep_char;
|
||||||
#define min(a, b) ((a) < (b) ? (a) : (b))
|
#define min(a, b) ((a) < (b) ? (a) : (b))
|
||||||
#define max(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
|
/* Return a fixnum or float, depending on whether VAL fits in a Lisp
|
||||||
fixnum. */
|
fixnum. */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue