(get_run_time): Just return zero for winnt.
(main): Don't print memory usage for OS/2 or winnt.
From-SVN: r8182
#include <ctype.h>
#include <sys/stat.h>
+#ifndef WINNT
#ifdef USG
#undef FLOAT
#include <sys/param.h>
#include <sys/resource.h>
#endif
#endif
+#endif
#include "input.h"
#include "tree.h"
int
get_run_time ()
{
+#ifdef WINNT
+ return 0;
+#else
#ifdef USG
struct tms tms;
#else
return (vms_times.proc_user_time + vms_times.proc_system_time) * 10000;
#endif
#endif
+#endif
}
#define TIMEVAR(VAR, BODY) \
compile_file (filename);
-#ifndef OS2
-#ifndef VMS
+#if !defined(OS2) && !defined(VMS) && !defined(WINNT)
if (flag_print_mem)
{
#ifdef __alpha
system ("ps v");
#endif /* not USG */
}
-#endif /* not VMS */
-#endif /* not OS2 */
+#endif /* not OS2 and not VMS and not WINNT */
if (errorcount)
exit (FATAL_EXIT_CODE);