From 44aae9278659a96150e4a32449d15178dc7d9281 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Sat, 2 Nov 1996 02:06:00 +0000 Subject: [PATCH] const param => #define --- src/libCom/osiTime.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/libCom/osiTime.h b/src/libCom/osiTime.h index e041211cf..e8b4560c6 100644 --- a/src/libCom/osiTime.h +++ b/src/libCom/osiTime.h @@ -29,6 +29,10 @@ * * History * $Log$ + * Revision 1.3 1996/09/04 21:53:36 jhill + * allow use with goofy vxWorks 5.2 time spec - which has unsigned sec and + * signed nsec + * * Revision 1.2 1996/07/09 23:01:04 jhill * added new operators * @@ -54,11 +58,13 @@ #include #endif -const unsigned nSecPerSec = 1000000000u; -const unsigned nSecPerUSec = 1000u; -const unsigned secPerMin = 60u; +#define nSecPerSec 1000000000u +#define nSecPerUSec 1000u +#define secPerMin 60u -class osiTime { +#include + +class epicsShareClass osiTime { static friend osiTime operator+ (const osiTime &lhs, const osiTime &rhs); static friend osiTime operator-