fix linker problem on windows
This commit is contained in:
@ -40,6 +40,12 @@
|
||||
#define DO_NOT_CONVERT 2
|
||||
#define INIT_RUN (!interruptAccept)
|
||||
|
||||
#ifdef epicsExportSharedSymbols
|
||||
# define devStream_epicsExportSharedSymbols
|
||||
# undef epicsExportSharedSymbols
|
||||
# include "shareLib.h"
|
||||
#endif
|
||||
|
||||
#include "epicsVersion.h"
|
||||
#ifdef BASE_VERSION
|
||||
#define EPICS_3_13
|
||||
@ -49,12 +55,6 @@ extern "C" {
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef epicsExportSharedSymbols
|
||||
# define devStream_epicsExportSharedSymbols
|
||||
# undef epicsExportSharedSymbols
|
||||
# include <shareLib.h>
|
||||
#endif
|
||||
|
||||
#include "dbCommon.h"
|
||||
#include "dbScan.h"
|
||||
#include "devSup.h"
|
||||
@ -65,12 +65,6 @@ extern "C" {
|
||||
#include "dbEvent.h"
|
||||
#include "epicsMath.h"
|
||||
|
||||
#ifdef devStream_epicsExportSharedSymbols
|
||||
# undef devStream_epicsExportSharedSymbols
|
||||
# define epicsExportSharedSymbols
|
||||
# include <shareLib.h>
|
||||
#endif
|
||||
|
||||
#ifdef EPICS_3_13
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
@ -79,6 +73,12 @@ extern "C" {
|
||||
#include "epicsStdioRedirect.h"
|
||||
#endif
|
||||
|
||||
#ifdef devStream_epicsExportSharedSymbols
|
||||
# undef devStream_epicsExportSharedSymbols
|
||||
# define epicsExportSharedSymbols
|
||||
# include "shareLib.h"
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
typedef ptrdiff_t ssize_t;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user