summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/mips/bits/mathdef.h
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-11-27 14:38:34 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-11-27 14:38:34 +0000
commitc836f1ad544d4b57dd1b93c480b7e625f24fb147 (patch)
tree97669f5a5ddf6d10280b4d58dc759459c9613a54 /libc/sysdeps/linux/mips/bits/mathdef.h
parent0dbf6abb93407b6aa83f8a3b397cafbd3095cfdc (diff)
downloaduClibc-alpine-c836f1ad544d4b57dd1b93c480b7e625f24fb147.tar.bz2
uClibc-alpine-c836f1ad544d4b57dd1b93c480b7e625f24fb147.tar.xz
Synch with trunk @ 24160
Step 14: miscellaneous merge for arch specific files in libc/sysdeps. Comments, cleanup, formatting, hidden_proto removal and others.
Diffstat (limited to 'libc/sysdeps/linux/mips/bits/mathdef.h')
-rw-r--r--libc/sysdeps/linux/mips/bits/mathdef.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/mips/bits/mathdef.h b/libc/sysdeps/linux/mips/bits/mathdef.h
index 331da13a9..b741f6551 100644
--- a/libc/sysdeps/linux/mips/bits/mathdef.h
+++ b/libc/sysdeps/linux/mips/bits/mathdef.h
@@ -39,10 +39,8 @@ typedef double double_t; /* `double' expressions are evaluated as
#endif /* ISO C99 */
-#if ! defined __NO_LONG_DOUBLE_MATH && _MIPS_SIM == _ABIO32
+#if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ && _MIPS_SIM == _ABIO32
/* Signal that we do not really have a `long double'. This disables the
declaration of all the `long double' function variants. */
-# define __NO_LONG_DOUBLE_MATH 1
-#elif !defined __NO_LONG_DOUBLE_MATH && !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
-# define __NO_LONG_DOUBLE_MATH 1
+# error defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ and _MIPS_SIM == _ABIO32
#endif