scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 84499d25dd3891629b737b7ac497dd4eca26c89c
parent ffc937443d699eb0460bf3e34ee481a51e33064c
Author: Quentin Rameau <quinq@fifth.space>
Date:   Sun,  2 May 2021 14:39:31 +0200

cc: Fix POSIX namespace macro

The driver only need POSIX 2001 namespace without XSI

Diffstat:
Msrc/cmd/cc/posix/cc.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cmd/cc/posix/cc.c b/src/cmd/cc/posix/cc.c @@ -1,5 +1,5 @@ -#define _POSIX_SOURCE -#define _XOPEN_SOURCE 500 +#define _POSIX_SOURCE 200809L + #include <sys/types.h> #include <sys/wait.h> #include <unistd.h>