From 1d6562dc8bf49580196513272874fb07398a7fb3 Mon Sep 17 00:00:00 2001 From: John Winans Date: Wed, 26 Aug 1992 12:50:26 +0000 Subject: [PATCH] added VALID_ALARM to INVALID_ALARM transition change and double to long in longin support --- src/dev/devCommonGpib.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/dev/devCommonGpib.c b/src/dev/devCommonGpib.c index 25d58c584..9ac2d3768 100644 --- a/src/dev/devCommonGpib.c +++ b/src/dev/devCommonGpib.c @@ -95,6 +95,10 @@ #include #include +#ifndef VALID_ALARM +#define VALID_ALARM INVALID_ALARM +#endif + /* * This external structure contains the entry points to the GPIB drver. */ @@ -1512,7 +1516,7 @@ int devGpibLib_liGpibFinish(pdpvt) struct gpibDpvt *pdpvt; { - double value; + unsigned long value; struct longinRecord *pli = ((struct longinRecord *)(pdpvt->precord)); struct gpibCmd *pCmd; struct devGpibParmBlock *parmBlock;