summaryrefslogtreecommitdiff
path: root/gtk2_ardour/system_exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/system_exec.h')
-rw-r--r--gtk2_ardour/system_exec.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/gtk2_ardour/system_exec.h b/gtk2_ardour/system_exec.h
index cf8518f547..c69f957d95 100644
--- a/gtk2_ardour/system_exec.h
+++ b/gtk2_ardour/system_exec.h
@@ -30,6 +30,15 @@
#define STDERR_FILENO 2
#endif
+#if defined (__MINGW64__)
+#include <windows.h>
+
+#ifdef interface
+#undef interface // VKamyshniy: to avoid "include/giomm-2.4/giomm/dbusmessage.h:270:94: error: expected ',' or '...' before 'struct'"
+#endif
+
+#endif
+
#include <string>
#include <pthread.h>
#include <signal.h>
@@ -177,7 +186,7 @@ class SystemExec
char **envp;
private:
-#ifdef __WIN32__
+#ifdef PLATFORM_WINDOWS
PROCESS_INFORMATION *pid;
HANDLE stdinP[2];
HANDLE stdoutP[2];