diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-05-06 07:58:27 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-05-06 07:58:27 +0000 |
commit | f11c33a202dac746b9e8f990bce94fd4eac6f8f3 (patch) | |
tree | 1748b8dd9d2d201890a31a8e3a9e2446497db5d4 /gcc/cccp.c | |
parent | 20bb4d1bc2b852826daca880469ffda8271af391 (diff) | |
download | gcc-f11c33a202dac746b9e8f990bce94fd4eac6f8f3.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19571 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cccp.c')
-rw-r--r-- | gcc/cccp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/cccp.c b/gcc/cccp.c index ed4d5c6495a..165dfdcfa6d 100644 --- a/gcc/cccp.c +++ b/gcc/cccp.c @@ -105,10 +105,6 @@ static void hack_vms_include_specification (); #define INO_T_EQ(a, b) 0 #endif -#ifndef O_RDONLY -#define O_RDONLY 0 -#endif - #undef MIN #undef MAX #define MIN(X,Y) ((X) < (Y) ? (X) : (Y)) |