aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/all.h
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/all.h')
-rw-r--r--bootstrap/all.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/bootstrap/all.h b/bootstrap/all.h
index bb0711a..e458c15 100644
--- a/bootstrap/all.h
+++ b/bootstrap/all.h
@@ -491,12 +491,14 @@ struct comfile {
/** Target **/
/************/
-#define alignof __alignof__
+#define alignof _Alignof
static const struct targ {
size_t ptrsize,
shortsize,
intsize,
+ i32align,
+ i64align,
longsize,
llongsize,
sizesize,
@@ -509,6 +511,8 @@ static const struct targ {
.ptrsize = sizeof(void *),
.shortsize = sizeof(short),
.intsize = sizeof(int),
+ .i32align = alignof(int32_t),
+ .i64align = alignof(int64_t),
.longsize = sizeof(long),
.llongsize = sizeof(long long),
.sizesize = sizeof(size_t),