From 924e11a8bc56c51da5880a958afdcf865af03440 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Thu, 2 Nov 2017 17:08:42 -0500 Subject: [PATCH] rsrv: Fix include list for Windows builds For some reason epicsExport.h doesn't work here, we have to explicitly define epicsExportSharedSymbols and them pull in epicsExport.h separately later. Must be something to do with the #undef and redef that goes on in server.h --- src/ioc/rsrv/rsrvIocRegister.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ioc/rsrv/rsrvIocRegister.c b/src/ioc/rsrv/rsrvIocRegister.c index afc0ae85a..83c84c334 100644 --- a/src/ioc/rsrv/rsrvIocRegister.c +++ b/src/ioc/rsrv/rsrvIocRegister.c @@ -10,9 +10,10 @@ #include "osiSock.h" #include "iocsh.h" -#include "epicsExport.h" +#define epicsExportSharedSymbols #include "rsrv.h" #include "server.h" +#include "epicsExport.h" /* casr */