summaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-07 00:31:01 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-07 00:31:01 +0000
commitad87de1ece2f52d260b582709751ab9f315ab349 (patch)
treeec80f8d1e46852ac1ba45aecdcda7201c302ac6f /gcc/gcc.c
parent8098b1a5d828997acb2555106b3edccc0b43b661 (diff)
downloadgcc-ad87de1ece2f52d260b582709751ab9f315ab349.tar.gz
Merge from gcc-2.8
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16987 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 77372870edb..6e4a10d9515 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -39,7 +39,7 @@ compilation is specified by a string called a "spec". */
#include <sys/stat.h>
#include <errno.h>
-#ifndef NO_SYS_FILE_H
+#ifdef HAVE_SYS_FILE_H
#include <sys/file.h> /* May get R_OK, etc. on some systems. */
#endif
@@ -150,6 +150,10 @@ extern char *sys_errlist[];
extern char *strerror();
#endif
+#ifndef HAVE_KILL
+#define kill(p,s) raise(s)
+#endif
+
/* If a stage of compilation returns an exit status >= 1,
compilation of that file ceases. */
@@ -5152,7 +5156,7 @@ validate_switches (start)
}
/* Check whether a particular argument was used. The first time we
- canonialize the switches to keep only the ones we care about. */
+ canonicalize the switches to keep only the ones we care about. */
static int
used_arg (p, len)