cproc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit fbd879d73cf13fc18db3d221db92ab88cff0a3de
parent fe0e8f78915e81602a5da33c50c47fafbc344d1b
Author: Michael Forney <mforney@mforney.org>
Date:   Tue, 16 Apr 2019 01:25:18 -0700

Use a single section for alternate keyword defines

https://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html

Diffstat:
Mconfig.def.h | 8+++-----
1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -26,14 +26,12 @@ static char *preprocesscmd[] = { /* prevent glibc from using statement expressions for assert */ "-D", "__STRICT_ANSI__", - /* required for glibc headers */ + /* ignore attributes */ "-D", "__attribute__(x)=", - /* required for kernel headers */ - "-D", "__signed__=signed", - - /* required for binutils */ + /* alternate keywords */ "-D", "__alignof__=_Alignof", + "-D", "__signed__=signed", }; static char *compilecmd[] = {"cc-qbe"}; static char *codegencmd[] = {"qbe"};