From: | Josh Wilmes <jwilmes(at)cisco(dot)com> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | pgsql-bugs(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org, Nick Johnson <njohnson(at)cisco(dot)com> |
Subject: | Re: ISM shared memory on solaris |
Date: | 2003-10-24 17:22:40 |
Message-ID: | 3F995FE0.3090708@cisco.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-patches |
Bruce Momjian wrote:
> Josh Wilmes wrote:
>
>>Nope, __solaris__ is not defined on our system either.
>
>
> I thought our configure defined __portname__ for every platform, but I
> don't see that anywhere, so it seems we rely on the compiler to supply
> defines for the cpu and OS.
>
> Does src/tools/ccsym show you your defines? I would like to have
> something that identifies Solaris rather than something that checks for
> ISM so that if the ISM define isn't found, we throw an error and we hear
> about it.
That would be preferable- i didn't know what was safe to assume would
always be defined.
ccsym is pretty neat. Here's what it shows (gcc)
__GNUC__=2
__GNUC_MINOR__=95
sparc
sun
unix
__svr4__
__SVR4
__sparc__
__sun__
__unix__
__svr4__
__SVR4
__sparc
__sun
__unix
system=unix
system=svr4
__GCC_NEW_VARARGS__
cpu=sparc
machine=sparc
From | Date | Subject | |
---|---|---|---|
Next Message | ViSolve Open Source Team | 2003-10-24 17:51:40 | PostgreSQL Patch: Test-and-set routine for HP-UX (IA-64) |
Previous Message | Bruce Momjian | 2003-10-24 16:16:28 | Re: ISM shared memory on solaris |
From | Date | Subject | |
---|---|---|---|
Next Message | ViSolve Open Source Team | 2003-10-24 17:51:40 | PostgreSQL Patch: Test-and-set routine for HP-UX (IA-64) |
Previous Message | Bruce Momjian | 2003-10-24 16:16:28 | Re: ISM shared memory on solaris |