git: <tgmath.h>: Revert to using the C11 _Generic keyword if it is available.

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Oct 14 16:09:02 PDT 2015


commit de03118d092c3b87f593a7c5ebd54ff2818d218c
Author: Sascha Wildner <saw at online.de>
Date:   Thu Oct 15 00:29:13 2015 +0200

    <tgmath.h>: Revert to using the C11 _Generic keyword if it is available.
    
    This commit brings back FreeBSD's version of <tgmath.h> which has this
    optimization over OpenBSD's and compiles much faster when _Generic is
    part of the language.

Summary of changes:
 contrib/openbsd_libm/include/global/tgmath.h | 137 +++++++++++++++++----------
 1 file changed, 89 insertions(+), 48 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/de03118d092c3b87f593a7c5ebd54ff2818d218c


-- 
DragonFly BSD source repository



More information about the Commits mailing list