diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-05-16 18:36:33 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-05-16 18:36:33 -0400 |
commit | 9580b58360584384b994413aa24e751c5503e4b4 (patch) | |
tree | e78afc664e978a89809766b13bd2d0d36cc0c595 /gcc | |
parent | e9990579f163b8ee930585aaad074469aa8db384 (diff) | |
download | gcc-9580b58360584384b994413aa24e751c5503e4b4.zip gcc-9580b58360584384b994413aa24e751c5503e4b4.tar.gz gcc-9580b58360584384b994413aa24e751c5503e4b4.tar.bz2 |
Changed WINNT to _WIN32.
From-SVN: r9732
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/getpwd.c | 2 | ||||
-rw-r--r-- | gcc/protoize.c | 4 | ||||
-rw-r--r-- | gcc/sdbout.c | 2 | ||||
-rw-r--r-- | gcc/toplev.c | 12 |
4 files changed, 10 insertions, 10 deletions
diff --git a/gcc/getpwd.c b/gcc/getpwd.c index d939f39..3692e92 100644 --- a/gcc/getpwd.c +++ b/gcc/getpwd.c @@ -28,7 +28,7 @@ extern char *getcwd (); /* We actually use this as a starting point, not a limit. */ #define GUESSPATHLEN 100 #endif /* (defined (USG) || defined (VMS)) */ -#ifdef WINNT +#ifdef _WIN32 #include <direct.h> #endif diff --git a/gcc/protoize.c b/gcc/protoize.c index bc28ad1..920e7a7 100644 --- a/gcc/protoize.c +++ b/gcc/protoize.c @@ -64,7 +64,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <errno.h> #include <sys/types.h> #include <sys/stat.h> -#ifndef WINNT +#ifndef _WIN32 #if defined(POSIX) || defined(CONCURRENT) #include <dirent.h> #else @@ -169,7 +169,7 @@ typedef char * const_pointer_type; typedef void voidfn (); extern VOLATILE voidfn abort; #endif -#ifndef WINNT +#ifndef _WIN32 extern int kill (); #endif extern int creat (); diff --git a/gcc/sdbout.c b/gcc/sdbout.c index b08a6eb..4f5f4fd 100644 --- a/gcc/sdbout.c +++ b/gcc/sdbout.c @@ -53,7 +53,7 @@ AT&T C compiler. From the example below I would conclude the following: /* Mips systems use the SDB functions to dump out symbols, but do not supply usable syms.h include files. */ -#if defined(USG) && !defined(MIPS) && !defined (hpux) && !defined(WINNT) && !defined(__linux__) +#if defined(USG) && !defined(MIPS) && !defined (hpux) && !defined(_WIN32) && !defined(__linux__) #include <syms.h> /* Use T_INT if we don't have T_VOID. */ #ifndef T_VOID diff --git a/gcc/toplev.c b/gcc/toplev.c index eaa4651..51d95dd 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -35,7 +35,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <ctype.h> #include <sys/stat.h> -#ifndef WINNT +#ifndef _WIN32 #ifdef USG #undef FLOAT #include <sys/param.h> @@ -783,7 +783,7 @@ int dump_time; int get_run_time () { -#ifndef WINNT +#ifndef _WIN32 #ifdef USG struct tms tms; #else @@ -803,12 +803,12 @@ get_run_time () if (quiet_flag) return 0; -#ifdef WINNT +#ifdef _WIN32 if (clock() < 0) return 0; else return (clock() * 1000); -#else /* not WINNT */ +#else /* not _WIN32 */ #ifdef USG times (&tms); return (tms.tms_utime + tms.tms_stime) * (1000000 / HZ); @@ -3914,7 +3914,7 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE! compile_file (filename); -#if !defined(OS2) && !defined(VMS) && !defined(WINNT) +#if !defined(OS2) && !defined(VMS) && !defined(_WIN32) if (flag_print_mem) { #ifdef __alpha @@ -3932,7 +3932,7 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE! system ("ps v"); #endif /* not USG */ } -#endif /* not OS2 and not VMS and not WINNT */ +#endif /* not OS2 and not VMS and not _WIN32 */ if (errorcount) exit (FATAL_EXIT_CODE); |