shithub: scc

Download patch

ref: a4291b4ef6cd468380fd6cdedb39c1aa9e2695a3
parent: 7e5c124a65a18e79af05d9edd4378f9fb4f05464
author: Quentin Rameau <quinq@fifth.space>
date: Sun May 2 10:39:31 EDT 2021

cc: Fix POSIX namespace macro

The driver only need POSIX 2001 namespace without XSI

--- 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>