From e572c0c68c9d1a48595039af480e18e7d4bdb292 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Wed, 6 May 1998 07:58:27 +0000 Subject: Be more careful when including and 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 --- gcc/protoize.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'gcc/protoize.c') diff --git a/gcc/protoize.c b/gcc/protoize.c index 7059987..7d81aea 100644 --- a/gcc/protoize.c +++ b/gcc/protoize.c @@ -144,14 +144,6 @@ typedef char * pointer_type; typedef char * const_pointer_type; #endif -#ifndef O_RDONLY -#define O_RDONLY 0 -#endif - -#ifndef O_WRONLY -#define O_WRONLY 1 -#endif - #if defined(POSIX) #include -- cgit v1.1