diff options
author | Christian Pointner <equinox@anytun.org> | 2012-01-05 21:41:59 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2012-01-05 21:41:59 +0000 |
commit | 2019e311b10bc56d0ab99759d7a8a42a85b97dc0 (patch) | |
tree | 353324a2cbad16080f3e703dc917bad0f8f5778a /src/sysExec.h | |
parent | added helper scripts for mingw environment (diff) |
compiler clean windows checks
Diffstat (limited to 'src/sysExec.h')
-rw-r--r-- | src/sysExec.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sysExec.h b/src/sysExec.h index 7b99638..e2347d0 100644 --- a/src/sysExec.h +++ b/src/sysExec.h @@ -59,13 +59,13 @@ private: std::string script_; bool closed_; -#ifdef _MSC_VER - PROCESS_INFORMATION process_info_; - DWORD return_code_; -#else +#if !defined(_MSC_VER) && !defined(MINGW) pid_t pid_; int pipefd_; int return_code_; +#else + PROCESS_INFORMATION process_info_; + DWORD return_code_; #endif |