aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/float-sh.h
diff options
context:
space:
mode:
authorHartmut Schirmer <SchirmerH@Innovative-Systems.de>2001-10-11 15:53:57 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2001-10-11 15:53:57 +0000
commit6462eafacbb1940b1074b105d24c7bad09923f4b (patch)
tree495c168a7c02fe0a1d9955cc73b3ea2581c2b55d /gcc/config/float-sh.h
parent9d577a61fd7fe9addb498cba31242bc92398b93e (diff)
downloadgcc-6462eafacbb1940b1074b105d24c7bad09923f4b.zip
gcc-6462eafacbb1940b1074b105d24c7bad09923f4b.tar.gz
gcc-6462eafacbb1940b1074b105d24c7bad09923f4b.tar.bz2
float-i128.h: Make sure __STDC__VERSION__ is defined before using it.
* config/float-i128.h: Make sure __STDC__VERSION__ is defined before using it. * config/float/i32.h: Likewise. * config/float-i386.h: Likewise. * config/float-i64.h: Likewise. * config/float-m68k.h: Likewise. * config/float-sh.h: Likewise. * config/float-sparc.h: Likewise. From-SVN: r46187
Diffstat (limited to 'gcc/config/float-sh.h')
-rw-r--r--gcc/config/float-sh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/float-sh.h b/gcc/config/float-sh.h
index 0ff8d3b..598994b 100644
--- a/gcc/config/float-sh.h
+++ b/gcc/config/float-sh.h
@@ -130,7 +130,7 @@
#undef LDBL_MAX_10_EXP
#define LDBL_MAX_10_EXP 308
-#if __STDC_VERSION__ >= 199901L
+#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
/* The floating-point expression evaluation method.
-1 indeterminate
0 evaluate all operations and constants just to the range and