darwin x86 - Mailing list pgsql-ports

From Chris Langlois
Subject darwin x86
Date
Msg-id 3169BE74-2600-11D8-BF93-000A95A0828E@mac.com
Whole thread Raw
Responses Re: darwin x86
Re: darwin x86
List 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


pgsql-ports by date:

Previous
From: Tom Lane
Date:
Subject: Re: 7.4 on Mac OS X 10.3 (Panther): initdb shmget fails
Next
From: Peter Eisentraut
Date:
Subject: Re: darwin x86