Re: darwin x86

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: darwin x86
Дата
Msg-id 200312160046.hBG0koH07748@candle.pha.pa.us
обсуждение исходный текст
Ответ на darwin x86  (Chris Langlois <clanglois@mac.com>)
Список 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@postgresql.org
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-ports по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Antw: Re: Postgresql 7.4 fails to compile on Redhat Fedora Core 1 Linux
Следующее
От: "Marcel Gsteiger"
Дата:
Сообщение: Re: Antw: Re: Postgresql 7.4 fails to compile on