summaryrefslogtreecommitdiff
path: root/libio/stdiostream.cc
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-01-30 07:11:12 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-01-30 07:11:12 +0000
commit022c89b86d3f07f27f77d60c94474649efa2fb1b (patch)
treeacfbb6fbbeb0b99f8e455a3b652b18931faa6e80 /libio/stdiostream.cc
parenta7e3d3af2e1bd765af57351b7edc0ddca36e1256 (diff)
downloadgcc-022c89b86d3f07f27f77d60c94474649efa2fb1b.tar.gz
* stdiostream.cc (_POSIX_SOURCE): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24915 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libio/stdiostream.cc')
-rw-r--r--libio/stdiostream.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/libio/stdiostream.cc b/libio/stdiostream.cc
index bc9bef08ab6..7fb671402e8 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"