From 988bdd05a326687daa1852c9ff395230743b30d8 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sat, 23 Jan 2021 19:47:12 -0800 Subject: [PATCH] [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. --- sys/include/ape/inttypes.h | 4 ---- sys/src/cmd/python/Extra/mkfile | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/sys/include/ape/inttypes.h b/sys/include/ape/inttypes.h index 0a8fbea51..03ffd7fdd 100644 --- 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 diff --git a/sys/src/cmd/python/Extra/mkfile b/sys/src/cmd/python/Extra/mkfile index cf30e453d..289dec59b 100644 --- a/sys/src/cmd/python/Extra/mkfile +++ b/sys/src/cmd/python/Extra/mkfile @@ -7,7 +7,7 @@ OFILES=`{du -a . | grep '.c$' | awk '{print $2}' | sed 's/.$/\$O/'}