From: | Bob Ippolito <bob(at)redivi(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
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 19:41:03 |
Message-ID: | 7CF89690-1223-11D8-AD77-000A95686CD8@redivi.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Nov 8, 2003, at 1:44 PM, Tom Lane wrote:
> 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.
MAC_OS_X_VERSION_MIN_REQUIRED
* If min OS not specified, assume 10.0
* Note: gcc driver may set MAC_OS_X_VERSION_MIN_REQUIRED based on
MACOSX_DEPLOYMENT_TARGET environment variable
Compiling software for 10.3 should setenv MACOSX_DEPLOYMENT_TARGET 10.3
-bob
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Meskes | 2003-11-08 19:48:54 | Bug fix for 7.4? |
Previous Message | Bruce Momjian | 2003-11-08 19:23:27 | Re: initdb in C |