diff options
| author | Paul Eggert | 2016-06-09 23:15:41 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-06-09 23:16:00 -0700 |
| commit | 25159d82f5854deff47df8425f827b4d6f028756 (patch) | |
| tree | 568ef75ec03f4e78f44096b477ec10d05faf0766 /src | |
| parent | 07b77b8ee02192a6d60c87002bb89a1eaee1aecc (diff) | |
| download | emacs-25159d82f5854deff47df8425f827b4d6f028756.tar.gz emacs-25159d82f5854deff47df8425f827b4d6f028756.zip | |
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')
| -rw-r--r-- | src/conf_post.h | 2 |
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; | |||
| 88 | 88 | ||
| 89 | /* Yield PTR, which must be aligned to ALIGNMENT. */ | 89 | /* Yield PTR, which must be aligned to ALIGNMENT. */ |
| 90 | #if ! __has_builtin (__builtin_assume_aligned) | 90 | #if ! __has_builtin (__builtin_assume_aligned) |
| 91 | # define __builtin_assume_aligned(ptr, alignment, ...) ((void *) (ptr)) | 91 | # define __builtin_assume_aligned(ptr, ...) ((void *) (ptr)) |
| 92 | #endif | 92 | #endif |
| 93 | 93 | ||
| 94 | #ifdef DARWIN_OS | 94 | #ifdef DARWIN_OS |