Commit d4bb0623 by Richard Kenner

Added #ifdef's WINNT.

From-SVN: r9018
parent 38d68645
/* 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. Copyright (C) 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
This file is part of GNU CC. This file is part of GNU CC.
...@@ -64,11 +64,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -64,11 +64,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <errno.h> #include <errno.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#ifndef WINNT
#if defined(POSIX) || defined(CONCURRENT) #if defined(POSIX) || defined(CONCURRENT)
#include <dirent.h> #include <dirent.h>
#else #else
#include <sys/dir.h> #include <sys/dir.h>
#endif #endif
#endif
#include <setjmp.h> #include <setjmp.h>
/* Include getopt.h for the sake of getopt_long. /* Include getopt.h for the sake of getopt_long.
...@@ -158,7 +160,9 @@ typedef char * const_pointer_type; ...@@ -158,7 +160,9 @@ typedef char * const_pointer_type;
typedef void voidfn (); typedef void voidfn ();
extern VOLATILE voidfn abort; extern VOLATILE voidfn abort;
#endif #endif
#ifndef WINNT
extern int kill (); extern int kill ();
#endif
extern int creat (); extern int creat ();
#if 0 /* These conflict with stdio.h on some systems. */ #if 0 /* These conflict with stdio.h on some systems. */
extern int fprintf (FILE *, const char *, ...); extern int fprintf (FILE *, const char *, ...);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment