projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07b77b8
)
Port __builtin_assume_aligned to Sun C 5.13
author
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 10 Jun 2016 06:15:41 +0000
(23:15 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 10 Jun 2016 06:16:00 +0000
(23:16 -0700)
* src/conf_post.h (__builtin_assume_aligned):
Fix typo: the extra arg did not conform to C99.
src/conf_post.h
patch
|
blob
|
history
diff --git
a/src/conf_post.h
b/src/conf_post.h
index 1dd915b5969810ad738a48026b6ef11d826112e7..6f48fd6d184d610da3e0b657db8b81d2b66230fa 100644
(file)
--- a/
src/conf_post.h
+++ b/
src/conf_post.h
@@
-88,7
+88,7
@@
typedef bool bool_bf;
/* Yield PTR, which must be aligned to ALIGNMENT. */
#if ! __has_builtin (__builtin_assume_aligned)
-# define __builtin_assume_aligned(ptr,
alignment,
...) ((void *) (ptr))
+# define __builtin_assume_aligned(ptr, ...) ((void *) (ptr))
#endif
#ifdef DARWIN_OS