diff options
author | Björn Gustavsson <[email protected]> | 2016-03-15 08:10:32 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-03-15 13:16:07 +0100 |
commit | b0421f3d267a99da21466050fd5715b7869f38c6 (patch) | |
tree | eab1fddff2a78e14cc6f3f2be4ff55c72ad076c9 /erts/emulator/sys/unix/sys_float.c | |
parent | 99b8c76f52558a1522f8ecc9efef7b3633656c8a (diff) | |
download | otp-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