diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2013-05-04 21:23:11 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2013-05-04 17:23:11 -0400 |
commit | 19f0e98f58f5895d076bb763db75e00648cf9eba (patch) | |
tree | b04b37c28d973f00e4b58494f9ca82777503c308 /libgfortran/io/read.c | |
parent | 4b36ae28d360665f94048dd796d505f2280b1e59 (diff) | |
download | gcc-19f0e98f58f5895d076bb763db75e00648cf9eba.zip gcc-19f0e98f58f5895d076bb763db75e00648cf9eba.tar.gz gcc-19f0e98f58f5895d076bb763db75e00648cf9eba.tar.bz2 |
environ.c: Include unistd.h.
* runtime/environ.c: Include unistd.h.
* runtime/pause.c: Test HAVE_UNISTD_H.
* runtime/stop.c: Same.
* io/open.c: Same.
* io/unix.c: Same.
* io/read.c (si_max): Protect declaration of value.
From-SVN: r198603
Diffstat (limited to 'libgfortran/io/read.c')
-rw-r--r-- | libgfortran/io/read.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgfortran/io/read.c b/libgfortran/io/read.c index 2da1048..d7d5c41 100644 --- a/libgfortran/io/read.c +++ b/libgfortran/io/read.c @@ -91,7 +91,9 @@ set_integer (void *dest, GFC_INTEGER_LARGEST value, int length) GFC_UINTEGER_LARGEST si_max (int length) { +#if defined HAVE_GFC_REAL_16 || defined HAVE_GFC_REAL_10 GFC_UINTEGER_LARGEST value; +#endif switch (length) { |