Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!oliveb!sun!carlisle!bvs From: bvs%carlisle@Sun.COM (Bruce Schwartz) Newsgroups: comp.windows.news Subject: NewsDraw addendum Message-ID: <82283@sun.uucp> Date: 19 Dec 88 18:06:39 GMT Sender: news@sun.uucp Lines: 26 People running SunOS 3.x have been having trouble making NewsDraw. NewsDraw was written under SunOS 4.0. The major problem is that the sincos call is new in 4.0. You can solve the problem by putting the following line at the top of item.c: #define sincos(x,s,c) { *s = sin(x); *c = cos(x); } From the 4.0 man pages: #include double sin(x) double x; double cos(x) double x; void sincos(x, s, c) double x, *s, *c; Note that sincos(x,s,c) allows simultaneous computation of *s = sin(x) and *c = cos(x). Happy hacking, Bruce Schwartz