diff options
author | Mumit Khan <khan@xraylith.wisc.edu> | 1999-04-12 18:27:53 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-04-12 12:27:53 -0600 |
commit | edcc5d3c96b30e46c15f37295646ce68cf0f563c (patch) | |
tree | 039927823f7cd3331122c26c7e874c1d1329a640 /libio/libioP.h | |
parent | 3c59b7abd3bfc2cdc7ce9db9d51ef1f9b0258510 (diff) | |
download | gcc-edcc5d3c96b30e46c15f37295646ce68cf0f563c.zip gcc-edcc5d3c96b30e46c15f37295646ce68cf0f563c.tar.gz gcc-edcc5d3c96b30e46c15f37295646ce68cf0f563c.tar.bz2 |
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
Diffstat (limited to 'libio/libioP.h')
-rw-r--r-- | libio/libioP.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libio/libioP.h b/libio/libioP.h index d41c466..36fa1e0 100644 --- a/libio/libioP.h +++ b/libio/libioP.h @@ -23,6 +23,10 @@ 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) |