Re: predefined macros for various BSD-based systems? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: predefined macros for various BSD-based systems?
Date
Msg-id 201005151022.o4FAM8g20458@momjian.us
Whole thread Raw
In response to Re: predefined macros for various BSD-based systems?  (Giles Lean <giles.lean@pobox.com>)
List pgsql-hackers
Giles Lean wrote:
> 
> Tom Lane <tgl@sss.pgh.pa.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@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: predefined macros for various BSD-based systems?
Next
From: "Kevin Grittner"
Date:
Subject: Re: Row-level Locks & SERIALIZABLE transactions, postgres vs. Oracle