Skip site navigation (1) Skip section navigation (2)

Re: darwin x86

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 (view raw or flat)
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

In response to

  • darwin x86 at 2003-12-04 02:18:47 from Chris Langlois

pgsql-ports by date

Next:From: Peter EisentrautDate: 2003-12-16 21:42:57
Subject: Re: 7.4 on OpenBSD 3.4/PPC
Previous:From: Marcel GsteigerDate: 2003-12-15 16:16:05
Subject: Re: Antw: Re: Postgresql 7.4 fails to compile on

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group