diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-02-09 08:54:11 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-02-09 08:54:50 -0800 |
commit | cd9ecca8812571fc443688d11148f2768ededfa4 (patch) | |
tree | e1db80c838691e9ecb7b7cfe48e9f754d115d5a8 /lib | |
parent | bc4ac2f225febacc9a4d73b0200355bad081f9ad (diff) | |
download | gnulib-cd9ecca8812571fc443688d11148f2768ededfa4.tar.gz |
stdalign: port to clang 3.7.0
Problem reported by Herbert J. Skuhra in:
http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00476.html
* lib/stdalign.in.h (alignas): Fix typo that prevented 'alignas'
from being defined on clang 3.7.0, which has a buggy stdalign.h. See:
https://llvm.org/bugs/show_bug.cgi?id=26547
Diffstat (limited to 'lib')
-rw-r--r-- | lib/stdalign.in.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdalign.in.h b/lib/stdalign.in.h index 6fca5b6941..7ce33a0053 100644 --- a/lib/stdalign.in.h +++ b/lib/stdalign.in.h @@ -111,7 +111,7 @@ # endif #endif #if ((defined _Alignas && ! (defined __cplusplus && 201103 <= __cplusplus)) \ - || (defined __STDC_VERSION && 201112 <= __STDC_VERSION__)) + || (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__)) # define alignas _Alignas #endif #if defined alignas || (defined __cplusplus && 201103 <= __cplusplus) |