From 291d606bfffe3f4063d424e964a88d3c50b024ee Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Mon, 18 Oct 2010 21:44:23 +0000 Subject: [PATCH] Move epicsExport.h and add extern C for win32 compatibility. --- motorApp/AerotechSrc/drvEnsembleAsyn.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/motorApp/AerotechSrc/drvEnsembleAsyn.cc b/motorApp/AerotechSrc/drvEnsembleAsyn.cc index 41c02009..bd3ebca1 100644 --- a/motorApp/AerotechSrc/drvEnsembleAsyn.cc +++ b/motorApp/AerotechSrc/drvEnsembleAsyn.cc @@ -68,13 +68,13 @@ in file LICENSE that is included with this distribution. #include "errlog.h" #include "drvSup.h" -#include "epicsExport.h" #define DEFINE_MOTOR_PROTOTYPES 1 #include "motor_interface.h" #include "paramLib.h" #include "drvEnsembleAsyn.h" #include "Parameters.h" +#include "epicsExport.h" motorAxisDrvSET_t motorEnsemble = { @@ -98,7 +98,9 @@ motorAxisDrvSET_t motorEnsemble = motorAxisTriggerProfile /**< Pointer to function to trigger a profile move */ }; +extern "C" { epicsExportAddress(drvet, motorEnsemble); +} typedef struct {