summaryrefslogtreecommitdiffstats
path: root/include/features.h
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2009-10-17 04:07:01 +0200
committerAustin Foxley <austinf@cetoncorp.com>2009-11-22 11:27:50 -0800
commit26db825faf1e4979db3d3744c0f364bd368e4cfb (patch)
treedff6590abe91857eeb942144cbf58becdd29d4a0 /include/features.h
parent158c152ccbdeefbdec9bc315625617f23401e3b6 (diff)
downloaduClibc-alpine-26db825faf1e4979db3d3744c0f364bd368e4cfb.tar.bz2
uClibc-alpine-26db825faf1e4979db3d3744c0f364bd368e4cfb.tar.xz
update headers and disable prototypes
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'include/features.h')
-rw-r--r--include/features.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/features.h b/include/features.h
index 9602ecc0d..5ee2b333a 100644
--- a/include/features.h
+++ b/include/features.h
@@ -340,8 +340,10 @@
#endif
/* We do support the IEC 559 math functionality, real and complex. */
+#ifdef __UCLIBC_HAS_FLOATS__
#define __STDC_IEC_559__ 1
#define __STDC_IEC_559_COMPLEX__ 1
+#endif
#ifdef __UCLIBC_HAS_WCHAR__
/* wchar_t uses ISO 10646-1 (2nd ed., published 2000-09-15) / Unicode 3.1. */