From aad497e20f8cc76a1e0fff6bd17bd64cfc3c90d1 Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Mon, 18 Oct 2010 21:50:17 +0000 Subject: [PATCH] Add epicsShareFunc and shareLib.h for win32 DLL compatibility. --- motorApp/NewportSrc/XPSGathering.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/motorApp/NewportSrc/XPSGathering.c b/motorApp/NewportSrc/XPSGathering.c index 4f686e71..daf73fba 100644 --- a/motorApp/NewportSrc/XPSGathering.c +++ b/motorApp/NewportSrc/XPSGathering.c @@ -2,6 +2,8 @@ /**/ #include #include +#define epicsExportSharedSymbols +#include #include "XPS_C8_drivers.h" #include "Socket.h" #include "xps_ftp.h" @@ -19,7 +21,7 @@ #define GATHERING_DIRECTORY "/Admin/public/" #define GATHERING_FILE "Gathering.dat" -void xps_gathering() +epicsShareFunc void xps_gathering() { int status,poll_socket,drive_socket,end=0; int ftpSocket;