diff options
| author | Paul Eggert | 2014-01-20 12:48:14 -0800 |
|---|---|---|
| committer | Paul Eggert | 2014-01-20 12:48:14 -0800 |
| commit | cec62009bb94b74bb46dd911a22dc1ec97097970 (patch) | |
| tree | 7e8e3569612303588ff164fa070e8210c7c00ec4 /lib | |
| parent | 2d3c36db70ea118d3168a43e92b750c8999d60a6 (diff) | |
| download | emacs-cec62009bb94b74bb46dd911a22dc1ec97097970.tar.gz emacs-cec62009bb94b74bb46dd911a22dc1ec97097970.zip | |
Merge from gnulib.
This incorporates:
2014-01-20 stdalign: port to HP-UX compilers
2014-01-16 strtoimax: port to platforms lacking 'long long'
2014-01-16 update from texinfo
* doc/misc/texinfo.tex, lib/stdalign.in.h, lib/strtoimax.c:
Update from gnulib.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/stdalign.in.h | 3 | ||||
| -rw-r--r-- | lib/strtoimax.c | 16 |
2 files changed, 12 insertions, 7 deletions
diff --git a/lib/stdalign.in.h b/lib/stdalign.in.h index f9adf663b38..dcaab55b577 100644 --- a/lib/stdalign.in.h +++ b/lib/stdalign.in.h | |||
| @@ -95,7 +95,8 @@ | |||
| 95 | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 | 95 | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 |
| 96 | # if defined __cplusplus && 201103 <= __cplusplus | 96 | # if defined __cplusplus && 201103 <= __cplusplus |
| 97 | # define _Alignas(a) alignas (a) | 97 | # define _Alignas(a) alignas (a) |
| 98 | # elif __GNUC__ || __IBMC__ || __IBMCPP__ || __ICC || 0x5110 <= __SUNPRO_C | 98 | # elif (__GNUC__ || __HP_cc || __HP_aCC || __IBMC__ || __IBMCPP__ \ |
| 99 | || __ICC || 0x5110 <= __SUNPRO_C) | ||
| 99 | # define _Alignas(a) __attribute__ ((__aligned__ (a))) | 100 | # define _Alignas(a) __attribute__ ((__aligned__ (a))) |
| 100 | # elif 1300 <= _MSC_VER | 101 | # elif 1300 <= _MSC_VER |
| 101 | # define _Alignas(a) __declspec (align (a)) | 102 | # define _Alignas(a) __declspec (align (a)) |
diff --git a/lib/strtoimax.c b/lib/strtoimax.c index 219ebaf523d..2c33d5857a9 100644 --- a/lib/strtoimax.c +++ b/lib/strtoimax.c | |||
| @@ -28,20 +28,24 @@ | |||
| 28 | #include "verify.h" | 28 | #include "verify.h" |
| 29 | 29 | ||
| 30 | #ifdef UNSIGNED | 30 | #ifdef UNSIGNED |
| 31 | # ifndef HAVE_DECL_STRTOULL | 31 | # if HAVE_UNSIGNED_LONG_LONG_INT |
| 32 | # ifndef HAVE_DECL_STRTOULL | ||
| 32 | "this configure-time declaration test was not run" | 33 | "this configure-time declaration test was not run" |
| 33 | # endif | 34 | # endif |
| 34 | # if !HAVE_DECL_STRTOULL && HAVE_UNSIGNED_LONG_LONG_INT | 35 | # if !HAVE_DECL_STRTOULL |
| 35 | unsigned long long int strtoull (char const *, char **, int); | 36 | unsigned long long int strtoull (char const *, char **, int); |
| 37 | # endif | ||
| 36 | # endif | 38 | # endif |
| 37 | 39 | ||
| 38 | #else | 40 | #else |
| 39 | 41 | ||
| 40 | # ifndef HAVE_DECL_STRTOLL | 42 | # if HAVE_LONG_LONG_INT |
| 43 | # ifndef HAVE_DECL_STRTOLL | ||
| 41 | "this configure-time declaration test was not run" | 44 | "this configure-time declaration test was not run" |
| 42 | # endif | 45 | # endif |
| 43 | # if !HAVE_DECL_STRTOLL && HAVE_LONG_LONG_INT | 46 | # if !HAVE_DECL_STRTOLL |
| 44 | long long int strtoll (char const *, char **, int); | 47 | long long int strtoll (char const *, char **, int); |
| 48 | # endif | ||
| 45 | # endif | 49 | # endif |
| 46 | #endif | 50 | #endif |
| 47 | 51 | ||