Windows port (visibility declrations).

This commit is contained in:
Matej Sekoranja
2014-04-14 18:11:12 +02:00
parent 9d3873c3fe
commit 597bca1ca5
31 changed files with 218 additions and 52 deletions

View File

@@ -9,10 +9,13 @@
* @date 2013.08.02
*/
#include <pv/exampleLink.h>
#include <pv/standardPVField.h>
#include <pv/convert.h>
#define epicsExportSharedSymbols
#include <pv/exampleLink.h>
namespace epics { namespace pvDatabase {
using namespace epics::pvData;
using namespace epics::pvAccess;

View File

@@ -8,11 +8,15 @@
* @author mrk
* @date 2013.08.02
*/
#ifndef EXAMPLEPVADOUBLEARRAYGET_H
#define EXAMPLEPVADOUBLEARRAYGET_H
#ifndef EXAMPLELINK_H
#define EXAMPLELINK_H
#include <shareLib.h>
#ifdef epicsExportSharedSymbols
# define examplelinkEpicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif
//#include <shareLib.h>
#include <pv/timeStamp.h>
#include <pv/pvTimeStamp.h>
#include <pv/alarm.h>
@@ -22,6 +26,14 @@
#include <pv/pvAccess.h>
#include <pv/serverContext.h>
#ifdef examplelinkEpicsExportSharedSymbols
# define epicsExportSharedSymbols
# undef examplelinkEpicsExportSharedSymbols
# include <shareLib.h>
#endif
namespace epics { namespace pvDatabase {
@@ -87,4 +99,4 @@ private:
}}
#endif /* EXAMPLEPVADOUBLEARRAYGET_H */
#endif /* EXAMPLELINK_H */

View File

@@ -27,7 +27,6 @@
#include <epicsThread.h>
#include <iocsh.h>
#include <epicsExport.h>
#include <pv/pvIntrospect.h>
#include <pv/pvData.h>
@@ -35,6 +34,9 @@
#include <pv/standardPVField.h>
#include <pv/pvAccess.h>
#include <pv/pvDatabase.h>
#define epicsExportSharedSymbols
#include <epicsExport.h>
#include <pv/exampleLink.h>
using namespace epics::pvData;