Fix linker import warning for StreamDebugFile on WIN32

This commit is contained in:
Freddie Akeroyd
2019-06-08 21:30:37 +01:00
parent 905d8a3b4a
commit 85c9a8b130
2 changed files with 5 additions and 0 deletions

View File

@ -85,6 +85,8 @@ extern "C" epicsShareFunc int epicsShareAPI iocshCmd(const char *command);
#include <sysSymTbl.h>
#endif
#include "epicsExport.h"
#include "devStream.h"
#define Z PRINTF_SIZE_T_PREFIX

View File

@ -52,6 +52,7 @@ extern "C" {
#ifdef epicsExportSharedSymbols
# define devStream_epicsExportSharedSymbols
# undef epicsExportSharedSymbols
# include <shareLib.h>
#endif
#include "dbCommon.h"
@ -65,7 +66,9 @@ extern "C" {
#include "epicsMath.h"
#ifdef devStream_epicsExportSharedSymbols
# undef devStream_epicsExportSharedSymbols
# define epicsExportSharedSymbols
# include <shareLib.h>
#endif
#if defined(_WIN32)