]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add __generic(), to be able to use a very simple _Generic().
authorEd Schouten <ed@FreeBSD.org>
Thu, 5 Jan 2012 10:43:03 +0000 (10:43 +0000)
committerEd Schouten <ed@FreeBSD.org>
Thu, 5 Jan 2012 10:43:03 +0000 (10:43 +0000)
commitf8fd121ca4ece923d3f7b82e1e62dd70d5aa66be
tree880f995a45e5dd6d91f28fccdc5678ea4c1ea27a
parenta9e4a4780ab8740f7ee180992a7399a8a42dbc1f
Add __generic(), to be able to use a very simple _Generic().

Already introducing this allows us to be forward compatible with C11
compilers. By implementing <tgmath.h> on top of this interface, it
becomes trivial to support both our existing GCC and newer compilers.
sys/sys/cdefs.h