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

From: Palle Girgensohn <girgen(at)pingpong(dot)net>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: build postgresql on Mac OS X mountain lion with ossp-uuid
Date: 2012-07-31 19:02:14
Message-ID: 50182BB6.6060203@pingpong.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2012-07-31 19:32:56 Re: New statistics for WAL buffer dirty writes
Previous Message Tom Lane 2012-07-31 17:43:31 Re: Learning SQL: nested CTE and UNION