From 5b8ef5a985ccae9848d48a25737087e025c7ee7c Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 19 Dec 1995 19:35:00 +0000 Subject: [PATCH] use memset instead of bzero following advice from Jeff Hill and add a definition of struct timezone to support gettimeofday --- src/ca/ucx.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/ca/ucx.h b/src/ca/ucx.h index 224345aa5..f28ab6ac9 100644 --- a/src/ca/ucx.h +++ b/src/ca/ucx.h @@ -8,6 +8,9 @@ * CJM 13-Jul-1994 add fd_set etc for R3.12 * CJM 09-Dec-1994 define fd_set etc. so it will compile for * both DEC C and Vax C + * CJM 19-Nov-1995 use memset instead of bzero following advice + * from Jeff Hill and add a definition of struct + * timezone to support gettimeofday * */ #ifndef _UCX_H_ @@ -85,7 +88,14 @@ typedef int fd_set ; #include #define IO$_RECEIVE (IO$_WRITEVBLK) +struct timezone { + int tz_minuteswest ; /* minutes west of Greenwich */ + int tz_dsttime ; /* type of dst correction */ +}; + +#define TWOPOWER32 4294967296.0 +#define TWOPOWER31 2147483648.0 +#define UNIX_EPOCH_AS_MJD 40587.0 #endif #endif -