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

darwin x86

From: Chris Langlois <clanglois(at)mac(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: darwin x86
Date: 2003-12-04 02:18:47
Message-ID: 3169BE74-2600-11D8-BF93-000A95A0828E@mac.com (view raw or flat)
Thread:
Lists: pgsql-ports
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


Responses

pgsql-ports by date

Next:From: Peter EisentrautDate: 2003-12-04 20:54:57
Subject: Re: darwin x86
Previous:From: Tom LaneDate: 2003-11-28 22:01:31
Subject: Re: 7.4 on Mac OS X 10.3 (Panther): initdb shmget fails

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