summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/alpha/bits/wordsize.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-19 10:42:00 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-19 10:42:00 +0000
commit4818c347d02c8161f005f7821846f6afead50b5b (patch)
tree7f86e8cc5b96a4fd149a81d3d1ae02fd49053a25 /libc/sysdeps/linux/alpha/bits/wordsize.h
parent3d4d05dbadf098845328149e3fb0acc48c4ee207 (diff)
sync with glibc
Diffstat (limited to 'libc/sysdeps/linux/alpha/bits/wordsize.h')
-rw-r--r--libc/sysdeps/linux/alpha/bits/wordsize.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/alpha/bits/wordsize.h b/libc/sysdeps/linux/alpha/bits/wordsize.h
index dd698fa97..22fc64109 100644
--- a/libc/sysdeps/linux/alpha/bits/wordsize.h
+++ b/libc/sysdeps/linux/alpha/bits/wordsize.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -17,3 +17,14 @@
02111-1307 USA. */
#define __WORDSIZE 64
+
+#if !defined __NO_LONG_DOUBLE_MATH && !defined __LONG_DOUBLE_MATH_OPTIONAL
+
+/* Signal that we didn't used to have a `long double'. The changes all
+ the `long double' function variants to be redirects to the double
+ functions. */
+# define __LONG_DOUBLE_MATH_OPTIONAL 1
+# ifndef __LONG_DOUBLE_128__
+# define __NO_LONG_DOUBLE_MATH 1
+# endif
+#endif