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
This commit is contained in:
parent
4b36ae28d3
commit
19f0e98f58
@ -1,3 +1,12 @@
|
||||
2013-05-04 David Edelsohn <dje.gcc@gmail.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2013-04-29 Janne Blomqvist <jb@gcc.gnu.org>
|
||||
|
||||
* intrinsics/system_clock (gf_gettime_mono): Use variable
|
||||
|
@ -26,7 +26,11 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||
#include "io.h"
|
||||
#include "fbuf.h"
|
||||
#include "unix.h"
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -30,7 +30,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||
#include <stdlib.h>
|
||||
#include <limits.h>
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <assert.h>
|
||||
|
@ -28,6 +28,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
||||
/* Environment scanner. Examine the environment for controlling minor
|
||||
* aspects of the program's execution. Our philosophy here that the
|
||||
|
@ -25,7 +25,11 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||
|
||||
#include "libgfortran.h"
|
||||
#include <string.h>
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
||||
static void
|
||||
do_pause (void)
|
||||
|
@ -26,7 +26,11 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||
#include "libgfortran.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
||||
/* A numeric STOP statement. */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user