mirror of git://gcc.gnu.org/git/gcc.git
filedoalloc.c (_POSIX_SOURCE): Remove definition.
* filedoalloc.c (_POSIX_SOURCE): Remove definition.
* fileops.c (_POSIX_SOURCE): Likewise.
* iopopen.c (_POSIX_SOURCE): Likewise.
* procbuf.cc (_POSIX_SOURCE): Likewise.
* libioP.h (_POSIX_SOURCE): And define it here.
* stdiostream.cc: Include libioP.h before others.
From-SVN: r26380
This commit is contained in:
parent
3c59b7abd3
commit
edcc5d3c96
|
|
@ -1,3 +1,12 @@
|
||||||
|
Mon Apr 12 19:22:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
|
||||||
|
|
||||||
|
* filedoalloc.c (_POSIX_SOURCE): Remove definition.
|
||||||
|
* fileops.c (_POSIX_SOURCE): Likewise.
|
||||||
|
* iopopen.c (_POSIX_SOURCE): Likewise.
|
||||||
|
* procbuf.cc (_POSIX_SOURCE): Likewise.
|
||||||
|
* libioP.h (_POSIX_SOURCE): And define it here.
|
||||||
|
* stdiostream.cc: Include libioP.h before others.
|
||||||
|
|
||||||
Fri Apr 2 15:11:58 1999 H.J. Lu (hjl@gnu.org)
|
Fri Apr 2 15:11:58 1999 H.J. Lu (hjl@gnu.org)
|
||||||
|
|
||||||
* libio/configure.in (gxx_include_dir): Handle it.
|
* libio/configure.in (gxx_include_dir): Handle it.
|
||||||
|
|
|
||||||
|
|
@ -42,9 +42,6 @@
|
||||||
|
|
||||||
/* Modified for GNU iostream by Per Bothner 1991, 1992. */
|
/* Modified for GNU iostream by Per Bothner 1991, 1992. */
|
||||||
|
|
||||||
#ifndef _POSIX_SOURCE
|
|
||||||
# define _POSIX_SOURCE
|
|
||||||
#endif
|
|
||||||
#include "libioP.h"
|
#include "libioP.h"
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
|
||||||
|
|
@ -25,9 +25,6 @@
|
||||||
General Public License. */
|
General Public License. */
|
||||||
|
|
||||||
|
|
||||||
#ifndef _POSIX_SOURCE
|
|
||||||
# define _POSIX_SOURCE
|
|
||||||
#endif
|
|
||||||
#include "libioP.h"
|
#include "libioP.h"
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
|
||||||
|
|
@ -24,9 +24,6 @@
|
||||||
other reasons why the executable file might be covered by the GNU
|
other reasons why the executable file might be covered by the GNU
|
||||||
General Public License. */
|
General Public License. */
|
||||||
|
|
||||||
#ifndef _POSIX_SOURCE
|
|
||||||
# define _POSIX_SOURCE
|
|
||||||
#endif
|
|
||||||
#include "libioP.h"
|
#include "libioP.h"
|
||||||
#if _IO_HAVE_SYS_WAIT
|
#if _IO_HAVE_SYS_WAIT
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,10 @@
|
||||||
other reasons why the executable file might be covered by the GNU
|
other reasons why the executable file might be covered by the GNU
|
||||||
General Public License. */
|
General Public License. */
|
||||||
|
|
||||||
|
#ifndef _POSIX_SOURCE
|
||||||
|
# define _POSIX_SOURCE
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#ifndef __set_errno
|
#ifndef __set_errno
|
||||||
# define __set_errno(Val) errno = (Val)
|
# define __set_errno(Val) errno = (Val)
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,6 @@ the executable file might be covered by the GNU General Public License. */
|
||||||
#pragma implementation
|
#pragma implementation
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define _POSIX_SOURCE
|
|
||||||
#include "libioP.h"
|
#include "libioP.h"
|
||||||
#include "procbuf.h"
|
#include "procbuf.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,8 +28,8 @@ the executable file might be covered by the GNU General Public License. */
|
||||||
#pragma implementation
|
#pragma implementation
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdiostream.h>
|
|
||||||
#include "libioP.h"
|
#include "libioP.h"
|
||||||
|
#include <stdiostream.h>
|
||||||
|
|
||||||
// A stdiobuf is "tied" to a FILE object (as used by the stdio package).
|
// A stdiobuf is "tied" to a FILE object (as used by the stdio package).
|
||||||
// Thus a stdiobuf is always synchronized with the corresponding FILE,
|
// Thus a stdiobuf is always synchronized with the corresponding FILE,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue