Re: build postgresql on Mac OS X mountain lion with ossp-uuid

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: build postgresql on Mac OS X mountain lion with ossp-uuid
Дата
Msg-id 4918.1343765012@sss.pgh.pa.us
обсуждение исходный текст
Ответ на build postgresql on Mac OS X mountain lion with ossp-uuid  (Palle Girgensohn <girgen@pingpong.net>)
Список pgsql-hackers
Palle Girgensohn <girgen@pingpong.net> writes:
> Hi,
> On the new Darwin 10.8 (aka mountain lion), I had to add

> #ifdef __APPLE__
> #if (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1080)
> #define _XOPEN_SOURCE
> #endif
> #endif

> to the very beginning of contrib/uuid-ossp/uuid-ossp.c to get the build
> working with --with-ossp-uuid.

This is not a postgres bug; this is an ossp bug, and that's the place
to fix it.  If you try, I suspect you'll find that uuid.h doesn't
compile on ML, quite independently of anything Postgres.
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: New statistics for WAL buffer dirty writes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: New statistics for WAL buffer dirty writes