* [9front] ape: remove _SUSV2_SOURCE guard from inttypes.h
@ 2021-01-24 3:09 Michael Forney
0 siblings, 0 replies; only message in thread
From: Michael Forney @ 2021-01-24 3:09 UTC (permalink / raw)
To: 9front
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.
diff -r d920fb7594b8 -r 26db75f8e734 sys/include/ape/inttypes.h
--- a/sys/include/ape/inttypes.h Sat Jan 23 13:45:08 2021 -0800
+++ b/sys/include/ape/inttypes.h Sat Jan 23 13:57:23 2021 -0800
@@ -1,7 +1,3 @@
-#ifndef _SUSV2_SOURCE
-#error "inttypes.h is SUSV2"
-#endif
-
#ifndef _INTTYPES_H_
#define _INTTYPES_H_ 1
diff -r d920fb7594b8 -r 26db75f8e734 sys/src/cmd/python/Extra/mkfile
--- a/sys/src/cmd/python/Extra/mkfile Sat Jan 23 13:45:08 2021 -0800
+++ b/sys/src/cmd/python/Extra/mkfile Sat Jan 23 13:57:23 2021 -0800
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-24 6:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-24 3:09 [9front] ape: remove _SUSV2_SOURCE guard from inttypes.h Michael Forney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).