>> (2) 6.3 doesn't use -Dsunos4 anymore. However we have such codes as:
>>
>> #if defined(sunos4)
>> #define memmove(d, s, l) bcopy(s, d, l)
>> #include <unistd.h>
>> #endif
>>
>> this leads to compiling errors in various places. Should we use
>> #if defined(sparc) && !defined(__svr4)
>> instead?
>
>The above test does not necessarily mean that the system runs SunOS 4!
>It would be true on the machine I'm sending this from as well, an SS2
>running NetBSD/sparc...
Good point. What are predefined #define directives for NetBSD/sparc?
For SunOS we have -Dsparc -Dsun -Dunix -D__GCC_NEW_VARARGS__ ...
--
Tatsuo Ishii
t-ishii@sra.co.jp