Win32 port: gcc visibility test passed

This commit is contained in:
Matej Sekoranja
2013-11-20 21:29:33 +01:00
parent 283e7331a0
commit c9e70902a2
14 changed files with 128 additions and 59 deletions
+13
View File
@@ -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");