From 77bc79f57a4c3f507d1e9d6f7e138d99e4266939 Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Mon, 28 Feb 2000 21:22:56 +0000 Subject: [PATCH] changes for win32 dlls --- src/db/db_access.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/db/db_access.h b/src/db/db_access.h index d985b563a..3673d16f2 100644 --- a/src/db/db_access.h +++ b/src/db/db_access.h @@ -95,6 +95,7 @@ extern "C" { #include +#include "shareLib.h" #include "epicsTypes.h" #include "tsStamp.h" #include "ellLib.h" @@ -190,6 +191,7 @@ typedef epicsUInt16 dbr_put_acks_t; * of type DBR types. In some cases we select the a * larger type to avoid loss of information */ +epicsShareExtern READONLY int epicsTypeToDBR_XXXX [lastEpicsType+1]; #ifdef DB_TEXT_GLBLSOURCE epicsShareDef READONLY int epicsTypeToDBR_XXXX [lastEpicsType+1] = { DBR_SHORT, /* forces conversion fronm uint8 to int16 */ @@ -204,8 +206,6 @@ epicsShareDef READONLY int epicsTypeToDBR_XXXX [lastEpicsType+1] = { DBR_STRING, DBR_STRING }; -#else -epicsShareExtern READONLY int epicsTypeToDBR_XXXX [lastEpicsType+1]; #endif /*Definitions that allow old database access to use new conversion routines*/