summaryrefslogtreecommitdiffstats
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-11-23 09:20:35 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-11-23 09:20:35 +0000
commitd128acff0c75a03dd57dddbe9662ceb5dc006d2c (patch)
tree6ae61120842874d485414bd0eadf91cc13254ade /gcc/cpplib.c
parent570ffa5d7553e676dbe5c4c06fd3a557fe2f707a (diff)
downloadppe42-gcc-d128acff0c75a03dd57dddbe9662ceb5dc006d2c.tar.gz
ppe42-gcc-d128acff0c75a03dd57dddbe9662ceb5dc006d2c.zip
* cccp.c (S_ISREG, S_ISDIR): Delete defines.
* cpplib.c, gcc.c: Likewise. * system.h (S_ISREG, S_ISDIR): Define if not already defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23785 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r--gcc/cpplib.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c
index f8a38e55bb1..269ac6682ef 100644
--- a/gcc/cpplib.c
+++ b/gcc/cpplib.c
@@ -72,14 +72,6 @@ extern char *update_path PARAMS ((char *, char *));
# endif
#endif
-#ifndef S_ISREG
-#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
-#endif
-
-#ifndef S_ISDIR
-#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
-#endif
-
/* By default, colon separates directories in a path. */
#ifndef PATH_SEPARATOR
#define PATH_SEPARATOR ':'
OpenPOWER on IntegriCloud