From 022c89b86d3f07f27f77d60c94474649efa2fb1b Mon Sep 17 00:00:00 2001 From: law <law@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Sat, 30 Jan 1999 07:11:12 +0000 Subject: [PATCH] * stdiostream.cc (_POSIX_SOURCE): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24915 138bc75d-0d04-0410-961f-82ee72b054a4 --- libio/ChangeLog | 4 ++++ libio/stdiostream.cc | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libio/ChangeLog b/libio/ChangeLog index bb3722cc4e51..e835328d8e79 100644 --- a/libio/ChangeLog +++ b/libio/ChangeLog @@ -1,3 +1,7 @@ +Sat Jan 30 08:07:56 1999 Mumit Khan <khan@xraylith.wisc.edu> + + * stdiostream.cc (_POSIX_SOURCE): Define. + 1998-11-26 Manfred Hollstein <manfred@s-direktnet.de> * configure.in (compiler_name): Add check to detect if this diff --git a/libio/stdiostream.cc b/libio/stdiostream.cc index bc9bef08ab67..7fb671402e8c 100644 --- a/libio/stdiostream.cc +++ b/libio/stdiostream.cc @@ -1,5 +1,5 @@ /* This is part of libio/iostream, providing -*- C++ -*- input/output. -Copyright (C) 1993 Free Software Foundation +Copyright (C) 1993, 1999 Free Software Foundation This file is part of the GNU IO Library. This library is free software; you can redistribute it and/or modify it under the @@ -28,6 +28,9 @@ the executable file might be covered by the GNU General Public License. */ #pragma implementation #endif +#ifndef _POSIX_SOURCE +# define _POSIX_SOURCE +#endif #include <stdiostream.h> #include "libioP.h" -- GitLab