diff options
author | Michael Forney <mforney@mforney.org> | 2019-02-24 16:10:46 -0800 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-02-24 16:10:46 -0800 |
commit | 3c039b17296283392f821cd26c0ef584f0d8fa86 (patch) | |
tree | f9fbe7d57d1e1d82848361b95306d3882dbe841e | |
parent | fcf3d3d44ba4b8cc41f81615c2a14e76b383127e (diff) | |
download | cproc-3c039b17296283392f821cd26c0ef584f0d8fa86.tar.xz |
Add __alignof__ definition by default
-rw-r--r-- | config.def.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index d11364d..80a2193 100644 --- a/config.def.h +++ b/config.def.h @@ -28,6 +28,9 @@ static char *preprocesscmd[] = { /* required for kernel headers */ "-D", "__signed__=signed", + + /* required for binutils */ + "-D", "__alignof__=_Alignof", }; static char *compilecmd[] = {"cc-qbe"}; static char *codegencmd[] = {"qbe"}; |