diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1997-06-27 18:27:10 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1997-06-27 18:27:10 -0400 |
commit | 5c40e677f55c87a3b197fa6921e60f4a59712d5b (patch) | |
tree | 537547cdd650e83c0e20ddba46503c31d885f888 | |
parent | e784aa9a0199040e54e7914a75e0572deecd32f0 (diff) | |
download | gcc-5c40e677f55c87a3b197fa6921e60f4a59712d5b.zip gcc-5c40e677f55c87a3b197fa6921e60f4a59712d5b.tar.gz gcc-5c40e677f55c87a3b197fa6921e60f4a59712d5b.tar.bz2 |
(fcntl.h): Only include if not building libgcc.a.
From-SVN: r14343
-rw-r--r-- | gcc/config/xm-gnu.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/xm-gnu.h b/gcc/config/xm-gnu.h index 57e74f2..62debf6 100644 --- a/gcc/config/xm-gnu.h +++ b/gcc/config/xm-gnu.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for hosts running GNU. - Copyright (C) 1994, 1995 Free Software Foundation, Inc. + Copyright (C) 1994, 1995, 1997 Free Software Foundation, Inc. This file is part of GNU CC. @@ -26,6 +26,8 @@ Boston, MA 02111-1307, USA. */ #define HAVE_STRERROR /* GNU has strerror. */ #define POSIX /* GNU complies to POSIX.1. */ +#ifndef inhibit_libc /* Get a definition of O_RDONLY; some of the GCC files don't include this properly and will define it themselves to be zero. */ #include <fcntl.h> +#endif |