From 8aa26b78bb74b21f96147d193d76e6dda5f8a578 Mon Sep 17 00:00:00 2001 From: Matej Sekoranja Date: Wed, 27 Nov 2013 01:15:35 +0100 Subject: [PATCH] win32 port: parseToPOD NEED_LONGLONG check, missing monitor.cpp --- pvDataApp/misc/parseToPOD.cpp | 3 +-- pvDataApp/monitor/monitor.cpp | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 pvDataApp/monitor/monitor.cpp diff --git a/pvDataApp/misc/parseToPOD.cpp b/pvDataApp/misc/parseToPOD.cpp index 330cff4..2fcf51f 100644 --- a/pvDataApp/misc/parseToPOD.cpp +++ b/pvDataApp/misc/parseToPOD.cpp @@ -14,8 +14,7 @@ #include "typeCast.h" // need to use "long long" when sizeof(int)==sizeof(long) -//#if ULONG_MAX == 0xfffffffful -#if ULONG_MAX != UINT_MAX +#if (ULONG_MAX == 0xfffffffful) || defined(_WIN32) #define NEED_LONGLONG #endif diff --git a/pvDataApp/monitor/monitor.cpp b/pvDataApp/monitor/monitor.cpp new file mode 100644 index 0000000..1f5dcce --- /dev/null +++ b/pvDataApp/monitor/monitor.cpp @@ -0,0 +1,14 @@ +/*monitor.cpp*/ +/** + * Copyright - See the COPYRIGHT that is included with this distribution. + * EPICS pvData is distributed subject to a Software License Agreement found + * in file LICENSE that is included with this distribution. + */ +/** + * @author mse + */ + +#define epicsExportSharedSymbols + +// needed to get interfaces exported +#include