diff options
author | Mumit Khan <khan@xraylith.wisc.edu> | 1999-01-30 07:11:12 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-01-30 00:11:12 -0700 |
commit | 53eae3acff4a0b486ace13dba063388d486f0011 (patch) | |
tree | acfbb6fbbeb0b99f8e455a3b652b18931faa6e80 | |
parent | 64e8166e7a2f8d94f18a2a880b255d33585020bf (diff) | |
download | gcc-53eae3acff4a0b486ace13dba063388d486f0011.zip gcc-53eae3acff4a0b486ace13dba063388d486f0011.tar.gz gcc-53eae3acff4a0b486ace13dba063388d486f0011.tar.bz2 |
* stdiostream.cc (_POSIX_SOURCE): Define.
From-SVN: r24915
-rw-r--r-- | libio/ChangeLog | 4 | ||||
-rw-r--r-- | libio/stdiostream.cc | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/libio/ChangeLog b/libio/ChangeLog index bb3722c..e835328 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 bc9bef0..7fb6714 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" |