build postgresql on Mac OS X mountain lion with ossp-uuid - Mailing list pgsql-hackers

From Palle Girgensohn
Subject build postgresql on Mac OS X mountain lion with ossp-uuid
Date
Msg-id 50182BB6.6060203@pingpong.net
Whole thread Raw
Responses Re: build postgresql on Mac OS X mountain lion with ossp-uuid  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: [NOVICE] Learning SQL: nested CTE and UNION
Next
From: Robert Haas
Date:
Subject: Re: New statistics for WAL buffer dirty writes