ref: 988bdd05a326687daa1852c9ff395230743b30d8
parent: 443d5256bdb6b0fb73795706fc5d48a12a3cd0dc
author: Michael Forney <mforney@mforney.org>
date: Sat Jan 23 14:47:12 EST 2021
[9front] ape: remove _SUSV2_SOURCE guard from inttypes.h inttypes.h was added to C99, and this is the only header that used _SUSV2_SOURCE. Also, remove now unneeded _SUSV2_SOURCE from python mkfile.
--- a/sys/include/ape/inttypes.h
+++ b/sys/include/ape/inttypes.h
@@ -1,7 +1,3 @@
-#ifndef _SUSV2_SOURCE
-#error "inttypes.h is SUSV2"
-#endif
-
#ifndef _INTTYPES_H_
#define _INTTYPES_H_ 1
--- a/sys/src/cmd/python/Extra/mkfile
+++ b/sys/src/cmd/python/Extra/mkfile
@@ -7,7 +7,7 @@
</sys/src/cmd/mklib
-CFLAGS=-c -I.. -I../Include -DT$objtype -D_SUSV2_SOURCE -DNDEBUG
+CFLAGS=-c -I.. -I../Include -DT$objtype -DNDEBUG
%.$O: %.c
$CC $CFLAGS -o $stem.$O $stem.c