diff --git a/bin/9c b/bin/9c index 5939a4e4..9da9be06 100755 --- a/bin/9c +++ b/bin/9c @@ -49,11 +49,11 @@ esac case "$tag" in *SunOS*-cc) - exec $cc -I$PLAN9/include $cflags "$@" 2>&1 | + exec $cc -DPLAN9PORT -I$PLAN9/include $cflags "$@" 2>&1 | /bin/sed 's/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g' 1>&2 ;; *) - exec $cc -I$PLAN9/include $cflags "$@" + exec $cc -DPLAN9PORT -I$PLAN9/include $cflags "$@" ;; esac