From 25159d82f5854deff47df8425f827b4d6f028756 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 9 Jun 2016 23:15:41 -0700 Subject: [PATCH] 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. --- src/conf_post.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2