[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.
This commit is contained in:
Michael Forney 2021-01-23 19:47:12 -08:00
parent 443d5256bd
commit 988bdd05a3
2 changed files with 1 additions and 5 deletions

View file

@ -1,7 +1,3 @@
#ifndef _SUSV2_SOURCE
#error "inttypes.h is SUSV2"
#endif
#ifndef _INTTYPES_H_
#define _INTTYPES_H_ 1

View file

@ -7,7 +7,7 @@ OFILES=`{du -a . | grep '.c$' | awk '{print $2}' | sed 's/.$/\$O/'}
</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