Subject: #if defined(unix) (was Re: CVS commit: src)
To: None <firstname.lastname@example.org>
From: enami tsugutomo <email@example.com>
Date: 08/31/1998 13:03:08
"Perry E. Metzger" <firstname.lastname@example.org> writes:
> Module Name: src
> Committed By: perry
> Date: Sun Aug 30 23:50:28 UTC 1998
> Modified Files:
> src/usr.bin/m4: main.c pathnames.h
> Log Message:
> try another way of fixing #if defined(unix) issues
Unfortunetly, this way doesn't work as expected, since cpp warns when
a symbol is parsed (not when evaluated).
So, we needs another fix. Probably, possible ways are:
(1) change cpp so that above trick works.
(2) predefine __unix__ in cc (again) and test it.
(3) test only __NetBSD__
Since that the meaning of that test is whether target system is unix
variant (against vms or msdos) or not, probably (2) is better, isn't