Re: [HACKERS] Current 6.3 issues

Tatsuo Ishii <t-ishii@sra.co.jp>

From: t-ishii@sra.co.jp
To: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
Cc: t-ishii@sra.co.jp, Bruce Momjian <maillist@candle.pha.pa.us>, PostgreSQL-development <hackers@postgreSQL.org>
Date: 1998-02-24T00:57:10Z
Lists: pgsql-hackers
>> (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