aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/m68k
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-11-10 19:10:36 +0000
committerUlrich Drepper <drepper@redhat.com>1998-11-10 19:10:36 +0000
commit200172bd3ff8de02b2bed138036d0c0c0b5c06bd (patch)
treec03d7aa32553124028923adf6b37acea795b6913 /sysdeps/m68k
parent79df5fdb24d5c9c6ad43e93afcec57d77871adb5 (diff)
downloadglibc-200172bd3ff8de02b2bed138036d0c0c0b5c06bd.tar
glibc-200172bd3ff8de02b2bed138036d0c0c0b5c06bd.tar.gz
glibc-200172bd3ff8de02b2bed138036d0c0c0b5c06bd.tar.bz2
glibc-200172bd3ff8de02b2bed138036d0c0c0b5c06bd.zip
Define ISO C 9X stuff only if included from math.h and __USE_ISOC9X is
defined.
Diffstat (limited to 'sysdeps/m68k')
-rw-r--r--sysdeps/m68k/fpu/bits/mathdef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/m68k/fpu/bits/mathdef.h b/sysdeps/m68k/fpu/bits/mathdef.h
index 5bad57bcc3..250f0f3929 100644
--- a/sysdeps/m68k/fpu/bits/mathdef.h
+++ b/sysdeps/m68k/fpu/bits/mathdef.h
@@ -16,11 +16,11 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#ifndef _MATH_H
+#if !defined _MATH_H && !defined _COMPLEX_H
# error "Never use <bits/mathdef.h> directly; include <math.h> instead"
#endif
-#ifdef __USE_ISOC9X
+#if defined __USE_ISOC9X && defined _MATH_H
/* The m68k FPUs evaluate all values in the 96 bit floating-point format
which is also available for the user as `long double'. Therefore we
define: */