Move epicsExport.h and add extern C for win32 compatibility.

This commit is contained in:
MarkRivers
2010-10-18 21:44:23 +00:00
parent efd0126e01
commit 291d606bff
+3 -1
View File
@@ -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
{