ref: a4343c79d1e9639ffcacb3435d090533a77282ec
parent: 2d15bbe60369a86217533433cdd91c49621b028c
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
--
⑨