PocoDoc fixes

This commit is contained in:
zosrothko
2018-04-17 20:45:08 +02:00
parent c2a1235d45
commit d6d27036d2
3 changed files with 14 additions and 4 deletions

View File

@@ -84,9 +84,14 @@
// discovered in Platform_WIN32.h. // discovered in Platform_WIN32.h.
// #define POCO_FORCE_MIN_WINDOWS_OS_SUPPORT // #define POCO_FORCE_MIN_WINDOWS_OS_SUPPORT
#if !defined(POCO_NO_WINDOWS_H)
#include <windows.h> #include <windows.h>
#ifdef __MINGW32__
#include <Winsock2.h>
#include <Iphlpapi.h>
#include <ws2tcpip.h>
#endif // __MINGW32__
#endif
#if !defined(POCO_NO_UNWINDOWS) #if !defined(POCO_NO_UNWINDOWS)
// A list of annoying macros to #undef. // A list of annoying macros to #undef.

View File

@@ -36,8 +36,8 @@
-D_DEBUG, -D_DEBUG,
-E, -E,
-C, -C,
-DPOCO_NO_WINDOWS_H,
-DPOCO_NO_GCC_API_ATTRIBUTE, -DPOCO_NO_GCC_API_ATTRIBUTE,
-DPOCO_NO_WINDOWS_H
-xc++ -xc++
</options> </options>
<path></path> <path></path>

View File

@@ -254,6 +254,11 @@ protected:
logger().debug("exec " + exec); logger().debug("exec " + exec);
logger().debug("path " + path); logger().debug("path " + path);
for (int no = 0; no < args.size(); ++no)
{
logger().debug("arg " + args[no]);
}
if (usePipe) if (usePipe)
{ {