aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys/unix/sys_float.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-03-15 08:10:32 +0100
committerBjörn Gustavsson <[email protected]>2016-03-15 13:16:07 +0100
commitb0421f3d267a99da21466050fd5715b7869f38c6 (patch)
treeeab1fddff2a78e14cc6f3f2be4ff55c72ad076c9 /erts/emulator/sys/unix/sys_float.c
parent99b8c76f52558a1522f8ecc9efef7b3633656c8a (diff)
downloadotp-b0421f3d267a99da21466050fd5715b7869f38c6.tar.gz
otp-b0421f3d267a99da21466050fd5715b7869f38c6.tar.bz2
otp-b0421f3d267a99da21466050fd5715b7869f38c6.zip
configure.in: Fix compilation error in ethread.c
3121171f56c2 made warnings for missing prototypes into compilation errors. That broke building on MacOS X, because prototypes for the pthread_getname_np() and pthread_setname_np() functions included by ethread.c are missing. The prototypes for those functions *are* located in pthread.h, but are not included if _XOPEN_SOURCE is defined. Therefore, we must undefine _XOPEN_SOURCE. 6e606582a6 is the commit that started to define _XOPEN_SOURCE on MacOS X in order to mend floating-point exceptions. Since fp exceptions again are broken and disabled by default, it is safe to remove the definition of _XOPEN_SOURCE.
Diffstat (limited to 'erts/emulator/sys/unix/sys_float.c')
0 files changed, 0 insertions, 0 deletions