/* 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
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
-#ifndef WINNT
+#ifndef _WIN32
#if defined(POSIX) || defined(CONCURRENT)
#include <dirent.h>
#else
typedef void voidfn ();
extern VOLATILE voidfn abort;
#endif
-#ifndef WINNT
+#ifndef _WIN32
extern int kill ();
#endif
extern int creat ();
/* 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
#include <ctype.h>
#include <sys/stat.h>
-#ifndef WINNT
+#ifndef _WIN32
#ifdef USG
#undef FLOAT
#include <sys/param.h>
int
get_run_time ()
{
-#ifndef WINNT
+#ifndef _WIN32
#ifdef USG
struct tms tms;
#else
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);
compile_file (filename);
-#if !defined(OS2) && !defined(VMS) && !defined(WINNT)
+#if !defined(OS2) && !defined(VMS) && !defined(_WIN32)
if (flag_print_mem)
{
#ifdef __alpha
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);