summaryrefslogtreecommitdiff
path: root/include/values.h
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2003-09-06 03:28:11 +0000
committerManuel Novoa III <mjn3@codepoet.org>2003-09-06 03:28:11 +0000
commit24b3f737bcf067a92e098e98b0684491400e4181 (patch)
treeeec0bceebcd4f7485826953f7a106fbade56a01c /include/values.h
parent1bb56f359252561d0f56d7fdbae7c697069797c0 (diff)
Don't install floating point related headers, and wrap some previously
unwrapped prototypes, when float support is disabled. Also don't install printf.h if glibc custom printf specifier support is disabled.
Diffstat (limited to 'include/values.h')
-rw-r--r--include/values.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/values.h b/include/values.h
index c8b376f18..d8bd8b50a 100644
--- a/include/values.h
+++ b/include/values.h
@@ -49,6 +49,7 @@
#define HIBITL MINLONG
+#ifdef __UCLIBC_HAS_FLOATS__
#include <float.h>
#define MAXDOUBLE DBL_MAX
@@ -59,6 +60,7 @@
#define FMINEXP FLT_MIN_EXP
#define DMAXEXP DBL_MAX_EXP
#define FMAXEXP FLT_MAX_EXP
+#endif /* __UCLIBC_HAS_FLOATS__ */
#ifdef __USE_MISC