aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/fixincludes/tests/base/tgmath.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/fixincludes/tests/base/tgmath.h')
-rw-r--r--gcc-4.9/fixincludes/tests/base/tgmath.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc-4.9/fixincludes/tests/base/tgmath.h b/gcc-4.9/fixincludes/tests/base/tgmath.h
new file mode 100644
index 000000000..f06dc89a2
--- /dev/null
+++ b/gcc-4.9/fixincludes/tests/base/tgmath.h
@@ -0,0 +1,14 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "fixinc/tests/inc/tgmath.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
+
+
+#if defined( GLIBC_TGMATH_CHECK )
+# define __floating_type(type) (__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))
+#endif /* GLIBC_TGMATH_CHECK */