From d4bb0623b4b02d30c1578bffc44de1c78cf28fc7 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Tue, 21 Feb 1995 18:57:15 -0500 Subject: [PATCH] Added #ifdef's WINNT. From-SVN: r9018 --- gcc/protoize.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/protoize.c b/gcc/protoize.c index 823afcdcbff..45422998d41 100644 --- a/gcc/protoize.c +++ b/gcc/protoize.c @@ -1,4 +1,4 @@ -/* Protoize program - Original version by Ron Guilmette at MCC. +/* Protoize program - Original version by Ron Guilmette (rfg@segfault.us.com). Copyright (C) 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. This file is part of GNU CC. @@ -64,11 +64,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include #include +#ifndef WINNT #if defined(POSIX) || defined(CONCURRENT) #include #else #include #endif +#endif #include /* Include getopt.h for the sake of getopt_long. @@ -158,7 +160,9 @@ typedef char * const_pointer_type; typedef void voidfn (); extern VOLATILE voidfn abort; #endif +#ifndef WINNT extern int kill (); +#endif extern int creat (); #if 0 /* These conflict with stdio.h on some systems. */ extern int fprintf (FILE *, const char *, ...); -- 2.30.2