* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26380
138bc75d-0d04-0410-961f-
82ee72b054a4
+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)
* libio/configure.in (gxx_include_dir): Handle it.
/* Modified for GNU iostream by Per Bothner 1991, 1992. */
-#ifndef _POSIX_SOURCE
-# define _POSIX_SOURCE
-#endif
#include "libioP.h"
#include <sys/types.h>
#include <sys/stat.h>
General Public License. */
-#ifndef _POSIX_SOURCE
-# define _POSIX_SOURCE
-#endif
#include "libioP.h"
#include <fcntl.h>
#include <sys/types.h>
other reasons why the executable file might be covered by the GNU
General Public License. */
-#ifndef _POSIX_SOURCE
-# define _POSIX_SOURCE
-#endif
#include "libioP.h"
#if _IO_HAVE_SYS_WAIT
#include <signal.h>
other reasons why the executable file might be covered by the GNU
General Public License. */
+#ifndef _POSIX_SOURCE
+# define _POSIX_SOURCE
+#endif
+
#include <errno.h>
#ifndef __set_errno
# define __set_errno(Val) errno = (Val)
#pragma implementation
#endif
-#define _POSIX_SOURCE
#include "libioP.h"
#include "procbuf.h"
#pragma implementation
#endif
-#include <stdiostream.h>
#include "libioP.h"
+#include <stdiostream.h>
// A stdiobuf is "tied" to a FILE object (as used by the stdio package).
// Thus a stdiobuf is always synchronized with the corresponding FILE,