aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/m68k/fpu
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-12-18 19:36:39 +0000
committerUlrich Drepper <drepper@redhat.com>1999-12-18 19:36:39 +0000
commit6d1adc87341959961558bf25129547466f28f417 (patch)
tree12db42a5aaeb8203e9087f54a4af9e6848fe99e4 /sysdeps/m68k/fpu
parentd1af493c6b3bcaaaa4c24a5a3b6e5592c33fc69d (diff)
downloadglibc-6d1adc87341959961558bf25129547466f28f417.tar
glibc-6d1adc87341959961558bf25129547466f28f417.tar.gz
glibc-6d1adc87341959961558bf25129547466f28f417.tar.bz2
glibc-6d1adc87341959961558bf25129547466f28f417.zip
Protect definitions for math.h against double inclusion.
Diffstat (limited to 'sysdeps/m68k/fpu')
-rw-r--r--sysdeps/m68k/fpu/bits/mathdef.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/m68k/fpu/bits/mathdef.h b/sysdeps/m68k/fpu/bits/mathdef.h
index 2f650ec8b5..c80dad3fe1 100644
--- a/sysdeps/m68k/fpu/bits/mathdef.h
+++ b/sysdeps/m68k/fpu/bits/mathdef.h
@@ -20,7 +20,9 @@
# error "Never use <bits/mathdef.h> directly; include <math.h> instead"
#endif
-#if defined __USE_ISOC99 && defined _MATH_H
+#if defined __USE_ISOC99 && defined _MATH_H && !defined _MATH_H_MATHDEF
+# define _MATH_H_MATHDEF 1
+
/* 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: */