mirror of
https://github.com/rizinorg/cutter.git
synced 2025-02-23 06:54:49 +00:00
Fix build for Haiku which doesn't have O_ASYNC yet (#2485)
This commit is contained in:
parent
eefaabd30f
commit
3b5c6ff9c0
@ -434,6 +434,11 @@ void ConsoleWidget::processQueuedOutput()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Haiku doesn't have O_ASYNC
|
||||||
|
#ifdef Q_OS_HAIKU
|
||||||
|
#define O_ASYNC O_NONBLOCK
|
||||||
|
#endif
|
||||||
|
|
||||||
void ConsoleWidget::redirectOutput()
|
void ConsoleWidget::redirectOutput()
|
||||||
{
|
{
|
||||||
// Make sure that we are running in a valid console with initialized output handles
|
// Make sure that we are running in a valid console with initialized output handles
|
||||||
|
Loading…
Reference in New Issue
Block a user