From: Paul Eggert Date: Fri, 10 Jun 2016 06:15:41 +0000 (-0700) Subject: Port __builtin_assume_aligned to Sun C 5.13 X-Git-Tag: emacs-26.0.90~1840^2~244^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=25159d82f5854deff47df8425f827b4d6f028756;p=emacs.git 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. --- 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