emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 25159d8: Port __builtin_assume_aligned to Sun C 5.1


From: Paul Eggert
Subject: [Emacs-diffs] master 25159d8: Port __builtin_assume_aligned to Sun C 5.13
Date: Fri, 10 Jun 2016 06:16:04 +0000 (UTC)

branch: master
commit 25159d82f5854deff47df8425f827b4d6f028756
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    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 1dd915b..6f48fd6 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]