diff options
author | Trannie Carter <[email protected]> | 2009-12-08 17:07:49 -0500 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2009-12-18 16:18:50 +0100 |
commit | 6e606582a698bbf8e8f31d3d5b2573bcfdefbb9a (patch) | |
tree | 10df738cc942f823c4fb9dc8b865d4c693cd1b68 /erts/configure.in | |
parent | 4160466b3b32ddb93ed50c59288ada2df38a4caf (diff) | |
download | otp-6e606582a698bbf8e8f31d3d5b2573bcfdefbb9a.tar.gz otp-6e606582a698bbf8e8f31d3d5b2573bcfdefbb9a.tar.bz2 otp-6e606582a698bbf8e8f31d3d5b2573bcfdefbb9a.zip |
Add -D_XOPEN_SOURCE to CPPFLAGS on Darwin platforms
ucontext routines are deprecated in Snow Leopard and defining
_XOPEN_SOURCE is the suggested remedy.
Diffstat (limited to 'erts/configure.in')
-rw-r--r-- | erts/configure.in | 3 |
1 files changed, 3 insertions, 0 deletions
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 |