summaryrefslogtreecommitdiff
path: root/lib/stdalign.in.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-01-20 12:48:14 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2014-01-20 12:48:14 -0800
commitcec62009bb94b74bb46dd911a22dc1ec97097970 (patch)
tree7e8e3569612303588ff164fa070e8210c7c00ec4 /lib/stdalign.in.h
parent2d3c36db70ea118d3168a43e92b750c8999d60a6 (diff)
downloademacs-cec62009bb94b74bb46dd911a22dc1ec97097970.tar.gz
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/stdalign.in.h')
-rw-r--r--lib/stdalign.in.h3
1 files changed, 2 insertions, 1 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 @@
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112
# if defined __cplusplus && 201103 <= __cplusplus
# define _Alignas(a) alignas (a)
-# elif __GNUC__ || __IBMC__ || __IBMCPP__ || __ICC || 0x5110 <= __SUNPRO_C
+# elif (__GNUC__ || __HP_cc || __HP_aCC || __IBMC__ || __IBMCPP__ \
+ || __ICC || 0x5110 <= __SUNPRO_C)
# define _Alignas(a) __attribute__ ((__aligned__ (a)))
# elif 1300 <= _MSC_VER
# define _Alignas(a) __declspec (align (a))