From 5a167e319ca2bee566d330d1c901d76dc53deea7 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 11 Sep 2015 13:34:14 +0200 Subject: Revert "tgmath.h: disable builtins" This reverts commit d1671548b968103f4df1b80659e60ae1fc5a67b3. You get following errors while compiling freeswitch: awgn.c: In function 'awgn_init_dbov': awgn.c:110:5: error: void value not ignored as it ought to be s->rms = pow(10.0, level/20.0)*32768.0; Reverting this commit allows to build the code. --- include/tgmath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tgmath.h b/include/tgmath.h index ce20d42d2..1dc3595ee 100644 --- a/include/tgmath.h +++ b/include/tgmath.h @@ -47,7 +47,7 @@ /* 1 if 'type' is a floating type, 0 if 'type' is an integer type. Allows for _Bool. Expands to an integer constant expression. */ -# if 0 /* __GNUC_PREREQ (3, 1) */ +# if __GNUC_PREREQ (3, 1) # define __floating_type(type) \ (__builtin_classify_type ((type) 0) == 8 \ || (__builtin_classify_type ((type) 0) == 9 \ -- cgit v1.2.3