emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/lisp.h,v


From: Glenn Morris
Subject: [Emacs-diffs] Changes to emacs/src/lisp.h,v
Date: Sun, 23 Sep 2007 02:04:24 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Glenn Morris <gm>       07/09/23 02:04:23

Index: lisp.h
===================================================================
RCS file: /sources/emacs/emacs/src/lisp.h,v
retrieving revision 1.586
retrieving revision 1.587
diff -u -b -r1.586 -r1.587
--- lisp.h      21 Sep 2007 09:03:41 -0000      1.586
+++ lisp.h      23 Sep 2007 02:04:23 -0000      1.587
@@ -3399,6 +3399,11 @@
 #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.  */
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]