Re: Making PostgreSQL 7.4 (CVS) work properly on OS X 10.3 (7B85)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bob Ippolito <bob(at)redivi(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Making PostgreSQL 7.4 (CVS) work properly on OS X 10.3 (7B85)
Date: 2003-11-08 18:44:42
Message-ID: 13081.1068317082@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bob Ippolito <bob(at)redivi(dot)com> writes:
> On Nov 8, 2003, at 1:13 PM, Tom Lane wrote:
>> As for getting rid of system.c, I am not eager to do that since it
>> would
>> certainly break compatibility with OS X 10.1. We could conditionally
>> compile it out perhaps. Do you know what #define symbol we could test
>> for to determine which OS X version we are on?

> See /usr/include/AvailabilityMacros.h

I don't see anything there that we can use in the form

#ifdef OSX_VERSION_10_2
or
#if OSX_VERSION >= something

My 10.2.6 copy already has MAC_OS_X_VERSION_10_3 in it, so they are
obviously not intending that the highest defined symbol of that
series is the OS version.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2003-11-08 19:00:29 Re: initdb in C
Previous Message Bob Ippolito 2003-11-08 18:25:26 Re: Making PostgreSQL 7.4 (CVS) work properly on OS X 10.3 (7B85)