aboutsummaryrefslogtreecommitdiff
path: root/gcc/protoize.c
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1996-08-18 01:29:32 +0000
committerDoug Evans <dje@gnu.org>1996-08-18 01:29:32 +0000
commit7b004ab55fd9e6e89d4b38bf78f2ff3a71a91fad (patch)
tree2d436d4e5e760bdba1a568767ea916a5ebddd577 /gcc/protoize.c
parent876ac40dfc93c659b1cddb62b77bee16a1282990 (diff)
downloadgcc-7b004ab55fd9e6e89d4b38bf78f2ff3a71a91fad.zip
gcc-7b004ab55fd9e6e89d4b38bf78f2ff3a71a91fad.tar.gz
gcc-7b004ab55fd9e6e89d4b38bf78f2ff3a71a91fad.tar.bz2
protoize.c: Update test for win32 (&& ! cygwin32).
* protoize.c: Update test for win32 (&& ! cygwin32). (kill): Delete decl. From-SVN: r12650
Diffstat (limited to 'gcc/protoize.c')
-rw-r--r--gcc/protoize.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c
index 7cc0b0a..4c77c56 100644
--- a/gcc/protoize.c
+++ b/gcc/protoize.c
@@ -65,7 +65,7 @@ Boston, MA 02111-1307, USA. */
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
-#ifndef _WIN32
+#if ! defined (_WIN32) || defined (__CYGWIN32__)
#if defined(POSIX) || defined(CONCURRENT)
#include <dirent.h>
#else
@@ -181,9 +181,6 @@ typedef char * const_pointer_type;
typedef void voidfn ();
extern VOLATILE voidfn abort;
#endif
-#ifndef _WIN32
-extern int kill ();
-#endif
extern int creat ();
#if 0 /* These conflict with stdio.h on some systems. */
extern int fprintf (FILE *, const char *, ...);