diff options
author | ed <ed@FreeBSD.org> | 2013-04-27 21:18:34 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2013-04-27 21:18:34 +0000 |
commit | 122d06c54099c05d307b2dc49493a716cbc4f225 (patch) | |
tree | ba7b6ae7ac7f7b9fb817b26a6b33f2531f530d4e /contrib/libc++/include/mutex | |
parent | 7b9fef1391980ba73dcc1c4ea9b36dcb7f6f7794 (diff) | |
download | FreeBSD-src-122d06c54099c05d307b2dc49493a716cbc4f225.zip FreeBSD-src-122d06c54099c05d307b2dc49493a716cbc4f225.tar.gz |
Enable improved <tgmath.h> for Clang even when not using C11.
By using __has_extension(c_generic_selections), we can explicitly test
whether we're dealing with a version of Clang that supports _Generic().
That way we can use the improved <tgmath.h> code, even when not using
-std=c11. This massively reduces the compilation time when invoking
these functions.
Diffstat (limited to 'contrib/libc++/include/mutex')
0 files changed, 0 insertions, 0 deletions