plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 52e7c45837208e509c0304a099c946310100ea89
parent cd5bae7871bc0f0bc68b4d2a84703929a7a3c9d1
Author: wkj <devnull@localhost>
Date:   Wed, 21 Apr 2004 02:23:14 +0000

Tell astro where to find estartab and here by defining SYS9 in CFLAGS.
(Better ideas welcome).

Diffstat:
Msrc/cmd/astro/.cvsignore | 1+
Msrc/cmd/astro/astro.h | 4++--
Msrc/cmd/astro/mkfile | 3+++
3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/cmd/astro/.cvsignore b/src/cmd/astro/.cvsignore @@ -1 +1,2 @@ o.out +o.astro diff --git a/src/cmd/astro/astro.h b/src/cmd/astro/astro.h @@ -1,8 +1,8 @@ #include <u.h> #include <libc.h> -#pragma varargck type "R" double -#pragma varargck type "D" double +//#pragma varargck type "R" double +//#pragma varargck type "D" double typedef struct Obj1 Obj1; typedef struct Obj2 Obj2; diff --git a/src/cmd/astro/mkfile b/src/cmd/astro/mkfile @@ -36,4 +36,7 @@ OFILES=\ HFILES=astro.h\ SHORTLIB=bio 9 + +CFLAGS= -DSYS9=\"$PLAN9\" + <$PLAN9/src/mkone