diff options
| author | Paul Eggert | 2013-03-30 10:30:06 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-03-30 10:30:06 -0700 |
| commit | 119b2d43cc40759394cae256c0a38624cacbf776 (patch) | |
| tree | fbda9143c9746c167977a9cac755b616eef80f09 | |
| parent | 9a1971bbaa7e42f9f22b2762f763049ae2ba5892 (diff) | |
| download | emacs-119b2d43cc40759394cae256c0a38624cacbf776.tar.gz emacs-119b2d43cc40759394cae256c0a38624cacbf776.zip | |
Merge from gnulib
This incorporates:
2013-03-29 stdalign: port to stricter ISO C11
This helps to run 'configure' on MS-Windows; see Eli Zaretskii in
<http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00999.html>.
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | m4/stdalign.m4 | 5 |
2 files changed, 10 insertions, 2 deletions
| @@ -1,3 +1,10 @@ | |||
| 1 | 2013-03-30 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Merge from gnulib, incorporating: | ||
| 4 | 2013-03-29 stdalign: port to stricter ISO C11 | ||
| 5 | This helps to run 'configure' on MS-Windows; see Eli Zaretskii in | ||
| 6 | <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00999.html>. | ||
| 7 | |||
| 1 | 2013-03-27 Paul Eggert <eggert@cs.ucla.edu> | 8 | 2013-03-27 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 9 | ||
| 3 | * configure.ac (HAVE_XKBGETKEYBOARD): Remove. | 10 | * configure.ac (HAVE_XKBGETKEYBOARD): Remove. |
diff --git a/m4/stdalign.m4 b/m4/stdalign.m4 index 3d7993dbec8..a866ff670b1 100644 --- a/m4/stdalign.m4 +++ b/m4/stdalign.m4 | |||
| @@ -33,8 +33,9 @@ AC_DEFUN([gl_STDALIGN_H], | |||
| 33 | #if \ | 33 | #if \ |
| 34 | (__GNUC__ || __IBMC__ || __IBMCPP__ \ | 34 | (__GNUC__ || __IBMC__ || __IBMCPP__ \ |
| 35 | || 0x5110 <= __SUNPRO_C || 1300 <= _MSC_VER) | 35 | || 0x5110 <= __SUNPRO_C || 1300 <= _MSC_VER) |
| 36 | int alignas (8) alignas_int = 1; | 36 | struct alignas_test { char c; char alignas (8) alignas_8; }; |
| 37 | char test_alignas[_Alignof (alignas_int) == 8 ? 1 : -1]; | 37 | char test_alignas[offsetof (struct alignas_test, alignas_8) == 8 |
| 38 | ? 1 : -1]; | ||
| 38 | #endif | 39 | #endif |
| 39 | ]])], | 40 | ]])], |
| 40 | [gl_cv_header_working_stdalign_h=yes], | 41 | [gl_cv_header_working_stdalign_h=yes], |