Subject: Re: #if defined(unix) (was Re: CVS commit: src)
To: Todd Vierling <tv@pobox.com>
From: enami tsugutomo <enami@sm.sony.co.jp>
List: tech-toolchain
Date: 09/01/1998 10:28:33
Todd Vierling <tv@pobox.com> writes:
> The best solution for offending code (to keep compatibility) is:
>
> #ifdef __NetBSD__
> #define unix 1
> #endif
>
> or adding -Dunix to the cc command line.
Hmm, i've found that we add -Dunix for ftpd, telnet and tn3270. Since
this doesn't require C source modification, it is better especially
for third party programs like gzip and zic.
So, i'd like to change m4, gzip and zic this way (i.e. add -Dunix for
m4, zic, gzip).
enami.