From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Chris Langlois <clanglois(at)mac(dot)com> |
Cc: | pgsql-ports(at)postgresql(dot)org |
Subject: | Re: darwin x86 |
Date: | 2003-12-16 00:46:50 |
Message-ID: | 200312160046.hBG0koH07748@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-ports |
We are waiting for a report of a successful run of test/regress before
making this change. Please let us know if the test succeeds.
---------------------------------------------------------------------------
Chris Langlois wrote:
> If you add the following to the /src/include/port/darwin.h file,
> pgsql-7.4 will build successfully on Darwin x86:
>
> #define __darwin__ 1
>
> #if defined(__ppc__)
> #define HAS_TEST_AND_SET
> #endif
>
> +#if defined(__i386__)
> +#define HAS_TEST_AND_SET
> +#endif
>
> #if defined(__ppc__)
> typedef unsigned int slock_t;
>
> #else
> typedef unsigned char slock_t;
>
> #endif
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2003-12-16 21:42:57 | Re: 7.4 on OpenBSD 3.4/PPC |
Previous Message | Marcel Gsteiger | 2003-12-15 16:16:05 | Re: Antw: Re: Postgresql 7.4 fails to compile on |