summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/sparc/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/sparc/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/sparc/bits/mathdef.h')
-rw-r--r--libc/sysdeps/linux/sparc/bits/mathdef.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/sparc/bits/mathdef.h b/libc/sysdeps/linux/sparc/bits/mathdef.h
index 7f9bbee81..b1a0d917c 100644
--- a/libc/sysdeps/linux/sparc/bits/mathdef.h
+++ b/libc/sysdeps/linux/sparc/bits/mathdef.h
@@ -57,15 +57,13 @@ typedef double double_t;
#endif /* ISO C99 */
-#ifndef __NO_LONG_DOUBLE_MATH
+#ifdef __UCLIBC_HAS_LONG_DOUBLE_MATH__
# if __WORDSIZE == 32
/* Signal that in 32bit ABI we do not really have a `long double'.
The disables the declaration of all the `long double' function
variants. */
-# define __NO_LONG_DOUBLE_MATH 1
-# elif !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
-# define __NO_LONG_DOUBLE_MATH 1
+# undef __UCLIBC_HAS_LONG_DOUBLE_MATH__
# endif
#endif