aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-05-06 07:58:27 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-05-06 07:58:27 +0000
commite572c0c68c9d1a48595039af480e18e7d4bdb292 (patch)
tree1748b8dd9d2d201890a31a8e3a9e2446497db5d4 /gcc/cpplib.c
parent45a455c9a6e7bcd78f24bb35a741ad3b62d40065 (diff)
downloadgcc-e572c0c68c9d1a48595039af480e18e7d4bdb292.zip
gcc-e572c0c68c9d1a48595039af480e18e7d4bdb292.tar.gz
gcc-e572c0c68c9d1a48595039af480e18e7d4bdb292.tar.bz2
Be more careful when including <time.h> and <sys/file.h> in system.h.
Consolidate O_RDONLY/O_WRONLY fallback definitions from various files into system.h. * system.h: Wrap time.h and sys/file.h in autoconf checks. Provide default definitions for O_RDONLY and O_WRONLY here. * cccp.c, cpplib.c, fix-header.c, gcc.c, protoize.c: Not here. From-SVN: r19571
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r--gcc/cpplib.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c
index 3d1fd92..7fde93f 100644
--- a/gcc/cpplib.c
+++ b/gcc/cpplib.c
@@ -45,10 +45,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
extern char *update_path ();
-#ifndef O_RDONLY
-#define O_RDONLY 0
-#endif
-
#undef MIN
#undef MAX
#define MIN(X,Y) ((X) < (Y) ? (X) : (Y))