[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:
parent
443d5256bd
commit
988bdd05a3
2 changed files with 1 additions and 5 deletions
|
@ -1,7 +1,3 @@
|
|||
#ifndef _SUSV2_SOURCE
|
||||
#error "inttypes.h is SUSV2"
|
||||
#endif
|
||||
|
||||
#ifndef _INTTYPES_H_
|
||||
#define _INTTYPES_H_ 1
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue