Skip to content

Commit c5bea85

Browse files
committed
io/process: hack around moc parse error
MOC default include paths contain macros that cause name collisions
1 parent 9534778 commit c5bea85

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/io/process.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111

1212
#include "datastream.hpp"
1313

14+
// Needed when compiling with clang musl-libc++.
15+
// Default include paths contain macros that cause name collisions.
16+
#undef stdout
17+
#undef stderr
18+
1419
///! Child process.
1520
/// #### Example
1621
/// ```qml

0 commit comments

Comments
 (0)