Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
555b10b0
Commit
555b10b0
authored
Oct 13, 2007
by
Eli Zaretskii
Browse files
(eabs): Rename from `abs'. All callers changed.
parent
71d00ce4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
src/lisp.h
src/lisp.h
+5
-3
No files found.
src/lisp.h
View file @
555b10b0
...
...
@@ -3379,9 +3379,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))
/* We used to use `abs', but that clashes with system headers on some
platforms, and using a name reserved by Standard C is a bad idea
anyway. */
#if !defined(eabs)
#define eabs(x) ((x) < 0 ? -(x) : (x))
#endif
/* Return a fixnum or float, depending on whether VAL fits in a Lisp
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment