1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

Johannes Weiner <hannes at saeurebad.de>

(abs): Don't define abs now it's in lisp.h.
This commit is contained in:
Glenn Morris 2007-09-23 02:03:36 +00:00
parent 66ba97ee97
commit 7a58fb43f6
6 changed files with 6 additions and 9 deletions

View file

@ -1,3 +1,9 @@
2007-09-23 Johannes Weiner <hannes@saeurebad.de>
* lisp.h (abs): Define if unknown.
* keyboard.c, sound.c, w32term.c, xfaces.c, w32term.c: Don't
define abs now it's in lisp.h.
2007-09-22 Eli Zaretskii <eliz@gnu.org>
* term.c (DEV_TTY): New macro. Provide a definition for

View file

@ -108,8 +108,6 @@ int interrupt_input_pending;
#define KBD_BUFFER_SIZE 4096
#endif /* No X-windows */
#define abs(x) ((x) >= 0 ? (x) : -(x))
/* Following definition copied from eval.c */
struct backtrace

View file

@ -97,7 +97,6 @@ Boston, MA 02110-1301, USA. */
#endif /* WINDOWSNT */
/* BEGIN: Common Definitions */
#define abs(X) ((X) < 0 ? -(X) : (X))
/* Symbols. */

View file

@ -58,8 +58,6 @@ Boston, MA 02110-1301, USA. */
#include "composite.h"
#include "coding.h"
#define abs(x) ((x) < 0 ? -(x) : (x))
/* Fringe bitmaps. */

View file

@ -267,8 +267,6 @@ Boston, MA 02110-1301, USA. */
#include <ctype.h>
#define abs(X) ((X) < 0 ? -(X) : (X))
/* Number of pt per inch (from the TeXbook). */
#define PT_PER_INCH 72.27

View file

@ -154,8 +154,6 @@ extern void _XEditResCheckMessages ();
#endif
#endif
#define abs(x) ((x) < 0 ? -(x) : (x))
/* Default to using XIM if available. */
#ifdef USE_XIM
int use_xim = 1;