Add epicsShareClass, needed to avoid errors on Windows

This commit is contained in:
MarkRivers
2014-05-08 17:35:29 +00:00
parent a73fe0a869
commit 5c8f516a54
+2 -2
View File
@@ -12,7 +12,7 @@ USAGE... Motor driver support for the Micos SMC hydra controller.
// No controller-specific parameters yet
#define NUM_SMCHYDRA_PARAMS 0
class SMChydraAxis : public asynMotorAxis
class epicsShareClass SMChydraAxis : public asynMotorAxis
{
public:
/* These are the methods we override from the base class */
@@ -44,7 +44,7 @@ private:
friend class SMChydraController;
};
class SMChydraController : public asynMotorController {
class epicsShareClass SMChydraController : public asynMotorController {
public:
SMChydraController(const char *portName, const char *SMChydraPortName, int numAxes, double movingPollPeriod, double idlePollPeriod);