Win32 port: gcc visibility test passed
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
#ifdef _WIN32
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
#include <pv/clientFactory.h>
|
||||
#include <pv/pvAccess.h>
|
||||
@@ -40,6 +44,15 @@ bool transpose = false;
|
||||
|
||||
bool dumpStructure = false;
|
||||
|
||||
#ifdef WIN32
|
||||
FILE *popen(const char *command, const char *mode) {
|
||||
return _popen(command, mode);
|
||||
}
|
||||
int pclose(FILE *stream) {
|
||||
return _pclose(stream);
|
||||
}
|
||||
#endif
|
||||
|
||||
void formatNTAny(std::ostream& o, PVStructurePtr const & pvStruct)
|
||||
{
|
||||
PVFieldPtr value = pvStruct->getSubField("value");
|
||||
|
||||
Reference in New Issue
Block a user