From 779eea486e43c8b30f0645d11870928cfbd725ff Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 13 Jun 1997 09:22:51 +0000 Subject: [PATCH] C++ changes --- src/db/dbAddr.h | 8 ++++++++ src/db/db_access.h | 1 + 2 files changed, 9 insertions(+) diff --git a/src/db/dbAddr.h b/src/db/dbAddr.h index 2ff605a15..e69141184 100644 --- a/src/db/dbAddr.h +++ b/src/db/dbAddr.h @@ -2,6 +2,14 @@ #ifndef dbAddrh #define dbAddrh +#ifdef __cplusplus +// +// for brain dead C++ compilers +// +struct dbCommon; +struct putNotify; +#endif + typedef struct dbAddr{ struct dbCommon *precord;/* address of record */ void *pfield; /* address of field */ diff --git a/src/db/db_access.h b/src/db/db_access.h index bc0da3370..e63ef1a71 100644 --- a/src/db/db_access.h +++ b/src/db/db_access.h @@ -117,6 +117,7 @@ typedef epicsUInt16 dbr_ushort_t; typedef epicsInt16 dbr_int_t; typedef epicsUInt16 dbr_enum_t; typedef epicsInt32 dbr_long_t; +typedef epicsUInt32 dbr_ulong_t; typedef epicsFloat32 dbr_float_t; typedef epicsFloat64 dbr_double_t; typedef epicsUInt16 dbr_put_ackt_t;