Fix VxWorks builds

This commit is contained in:
Andrew Johnson
2013-09-05 10:26:56 -05:00
parent ebb0c97c51
commit c3d04fdd08
2 changed files with 7 additions and 1 deletions

View File

@@ -18,6 +18,11 @@
#include <iomanip>
#include <pv/pvIntrospect.h>
#include <pv/requester.h>
#if defined(__vxworks) && !defined(_WRS_VXWORKS_MAJOR)
typedef class std::ios std::ios_base;
#endif
namespace epics { namespace pvData {

View File

@@ -17,7 +17,8 @@
#include <string>
#include <vector>
#ifdef __vxworks
#if defined(__vxworks) && \
(_WRS_VXWORKS_MAJOR+0 <= 6) && (_WRS_VXWORKS_MINOR+0 < 9)
typedef int intptr_t;
typedef unsigned int uintptr_t;
#define INT64_MAX (0x7fffffffffffffffLL)