From 6e606582a698bbf8e8f31d3d5b2573bcfdefbb9a Mon Sep 17 00:00:00 2001 From: Trannie Carter Date: Tue, 8 Dec 2009 17:07:49 -0500 Subject: Add -D_XOPEN_SOURCE to CPPFLAGS on Darwin platforms ucontext routines are deprecated in Snow Leopard and defining _XOPEN_SOURCE is the suggested remedy. --- erts/configure.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'erts') diff --git a/erts/configure.in b/erts/configure.in index 2797351e45..370646930f 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -351,6 +351,9 @@ case $host_os in AC_MSG_WARN([Reverting to 32-bit time_t]) CPPFLAGS="$CPPFLAGS -D_USE_32BIT_TIME_T" ;; + darwin*) + CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE" + ;; *) ;; esac -- cgit v1.2.3