another attempt to fix windows build

This commit is contained in:
mrkraimer
2018-09-29 12:18:29 -04:00
parent ebd4e3827c
commit 7e0bc0c45a
3 changed files with 10 additions and 13 deletions

View File

@@ -11,6 +11,10 @@
#include <epicsGuard.h>
#include <pv/pvStructureCopy.h>
#include <pv/pvPlugin.h>
#include <pv/pvArrayPlugin.h>
#include <pv/pvTimestampPlugin.h>
#include <pv/pvDeadbandPlugin.h>
#define epicsExportSharedSymbols
@@ -18,6 +22,7 @@
using std::tr1::static_pointer_cast;
using namespace epics::pvData;
using namespace epics::pvCopy;
using namespace std;
namespace epics { namespace pvDatabase {
@@ -33,6 +38,8 @@ PVDatabasePtr PVDatabase::getMaster()
if(getMasterFirstCall) {
getMasterFirstCall = false;
pvDatabaseMaster = PVDatabasePtr(new PVDatabase());
PVArrayPlugin::create();
PVTimestampPlugin::create();
}
return pvDatabaseMaster;
}