summaryrefslogtreecommitdiff
path: root/libquadmath/printf/quadmath-printf.h
diff options
context:
space:
mode:
Diffstat (limited to 'libquadmath/printf/quadmath-printf.h')
-rw-r--r--libquadmath/printf/quadmath-printf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libquadmath/printf/quadmath-printf.h b/libquadmath/printf/quadmath-printf.h
index 9e574c1eccc..32ebcec928c 100644
--- a/libquadmath/printf/quadmath-printf.h
+++ b/libquadmath/printf/quadmath-printf.h
@@ -181,3 +181,6 @@ __quadmath_do_putc (struct __quadmath_printf_file *fp, int wide,
#undef _itoa
#define _itoa __quadmath_itoa
+
+#undef NAN
+#define NAN __builtin_nanf ("")