OSDN Git Service

Added #ifdef's WINNT.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Feb 1995 23:57:15 +0000 (23:57 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Feb 1995 23:57:15 +0000 (23:57 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9018 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/protoize.c

index 823afcd..4542299 100644 (file)
@@ -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 <errno.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#ifndef WINNT
 #if defined(POSIX) || defined(CONCURRENT)
 #include <dirent.h>
 #else
 #include <sys/dir.h>
 #endif
+#endif
 #include <setjmp.h>
 
 /* 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 *, ...);