blob: c437700b4bec83249a7e60e5c81b5f1e03cbc3ed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- ./Utilities/Process.cpp.orig 2012-09-25 17:40:43.000000000 +0200
+++ ./Utilities/Process.cpp 2013-01-06 03:18:46.827523021 +0100
@@ -20,6 +20,17 @@
#include "Process.h"
#include <KDebug>
+/*
+ * <KDebug> pulls in <stdio.h> which defines stdout/stderr to
+ *__stdoutp/__stderrp which is obviously not what is intended here.
+ */
+#ifdef stdout
+# undef stdout
+#endif
+#ifdef stderr
+# undef stderr
+#endif
+
/**
\class Utilities::Process
\brief QProcess subclass which collects stdout and print stderr
|