Remove need to undef epicsExportSharedSymbols
This approach works OK, but makes it much harder to find files that have mistakes in them since they can cause other functions to get the wrong import/export setting.
This commit is contained in:
@@ -7,18 +7,8 @@
|
||||
#ifndef RESPONSEHANDLERS_H_
|
||||
#define RESPONSEHANDLERS_H_
|
||||
|
||||
#ifdef epicsExportSharedSymbols
|
||||
# define responseHandlersEpicsExportSharedSymbols
|
||||
# undef epicsExportSharedSymbols
|
||||
#endif
|
||||
|
||||
#include <pv/timer.h>
|
||||
|
||||
#ifdef responseHandlersEpicsExportSharedSymbols
|
||||
# define epicsExportSharedSymbols
|
||||
# undef responseHandlersEpicsExportSharedSymbols
|
||||
#endif
|
||||
|
||||
#include <pv/serverContext.h>
|
||||
#include <pv/remote.h>
|
||||
#include <pv/serverChannelImpl.h>
|
||||
|
||||
Reference in New Issue
Block a user