Re: predefined macros for various BSD-based systems?

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Giles Lean <giles(dot)lean(at)pobox(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: predefined macros for various BSD-based systems?
Date: 2010-05-15 10:22:08
Message-ID: 201005151022.o4FAM8g20458@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Giles Lean wrote:
>
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> > I suppose that at least some of the *BSD herd really do predefine some
> > of the symbols being attributed to them here, but I would like to see
> > something authoritative about which and what.
>
> Documentation follows, but first the summary:
>
> FreeBSD: __FreeBSD__
> NetBSD: __NetBSD__
> OpenBSD: __OpenBSD__

Great. I have updated pg_upgrade to use those defines.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2010-05-15 11:09:45 Re: Row-level Locks & SERIALIZABLE transactions, postgres vs. Oracle
Previous Message Bruce Momjian 2010-05-15 10:16:16 Re: predefined macros for various BSD-based systems?