From 380625e404f2f0ec13bfe07573e1ac6cf4e332d3 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Fri, 23 Mar 2012 13:05:36 -0700 Subject: [PATCH] Fixed vax build issue when building on a vax. --- descrip.mms | 3 ++- sim_timer.c | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/descrip.mms b/descrip.mms index 6f2fcae9..11a2ac7c 100644 --- a/descrip.mms +++ b/descrip.mms @@ -215,8 +215,9 @@ PCAP_SIMH_INC = /INCL=($(PCAP_DIR)) @ ERROR_CONDITION = ((F$GETSYI("ARCH_NAME").EQS."Alpha").AND.(F$GETSYI("VERSION").LTS."V8.0").AND.("$(NOASYNCH)".EQS."")) @ IF (ERROR_CONDITION) THEN WRITE SYS$OUTPUT "*** WARNING **** Build should be invoked with /MACRO=NOASYNCH=1 on this platform" @ 'EXIT_ON_ERROR + @ DEFINE/USER SYS$ERROR NLA0: @ DEFINE/USER SYS$OUTPUT CC_VERSION.DAT - @ CC/VERSION + @ CC/DECC/VERSION @ OPEN /READ VERSION CC_VERSION.DAT @ READ VERSION CC_VERSION @ CLOSE VERSION diff --git a/sim_timer.c b/sim_timer.c index fbf5acf3..89a6759d 100644 --- a/sim_timer.c +++ b/sim_timer.c @@ -174,7 +174,6 @@ sys$waitfr (2); return sim_os_msec () - stime; } -#if defined(SIM_ASYNCH_IO) #ifdef NEED_CLOCK_GETTIME int clock_gettime(int clk_id, struct timespec *tp) { @@ -191,7 +190,6 @@ tp->tv_nsec = ns*100; return 0; } #endif /* CLOCK_REALTIME */ -#endif /* SIM_ASYNCH_IO */ #elif defined (_WIN32)