diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lisp.h | 5 |
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 | ||