diff options
author | Michael Forney <mforney@mforney.org> | 2021-01-23 19:47:12 -0800 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2021-01-23 19:47:12 -0800 |
commit | 988bdd05a326687daa1852c9ff395230743b30d8 (patch) | |
tree | c5837f081e6993abc86b781481bb1af8fc98e48d | |
parent | 443d5256bdb6b0fb73795706fc5d48a12a3cd0dc (diff) | |
download | plan9front-988bdd05a326687daa1852c9ff395230743b30d8.tar.xz |
[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.
-rw-r--r-- | sys/include/ape/inttypes.h | 4 | ||||
-rw-r--r-- | sys/src/cmd/python/Extra/mkfile | 2 |
2 files changed, 1 insertions, 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/'} </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 |