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