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

Поиск
Список
Период
Сортировка
От Palle Girgensohn
Тема build postgresql on Mac OS X mountain lion with ossp-uuid
Дата
Msg-id 50182BB6.6060203@pingpong.net
обсуждение исходный текст
Ответы Re: build postgresql on Mac OS X mountain lion with ossp-uuid  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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.

I suggested something similar to the macports guys, but I guess it would
be wise to get this upstream to the postgresql source?

Cheers,
Palle


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [NOVICE] Learning SQL: nested CTE and UNION
Следующее
От: Robert Haas
Дата:
Сообщение: Re: New statistics for WAL buffer dirty writes