summaryrefslogtreecommitdiff
path: root/src/conf_post.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-06-09 23:15:41 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2016-06-09 23:16:00 -0700
commit25159d82f5854deff47df8425f827b4d6f028756 (patch)
tree568ef75ec03f4e78f44096b477ec10d05faf0766 /src/conf_post.h
parent07b77b8ee02192a6d60c87002bb89a1eaee1aecc (diff)
downloademacs-25159d82f5854deff47df8425f827b4d6f028756.tar.gz
Port __builtin_assume_aligned to Sun C 5.13
* src/conf_post.h (__builtin_assume_aligned): Fix typo: the extra arg did not conform to C99.
Diffstat (limited to 'src/conf_post.h')
-rw-r--r--src/conf_post.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_post.h b/src/conf_post.h
index 1dd915b5969..6f48fd6d184 100644
--- 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