summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-09-11 13:34:14 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-09-11 13:37:03 +0200
commit5a167e319ca2bee566d330d1c901d76dc53deea7 (patch)
tree5a46db3faf031009ad9ec15120843a80b3dece1c
parent090e6baca19f4209a23fb05d9928f51a67c3d5af (diff)
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.
-rw-r--r--include/tgmath.h2
1 files changed, 1 insertions, 1 deletions
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 \