fix build w/o concurrent-output
This commit is contained in:
parent
cf8076522c
commit
013986b492
1 changed files with 10 additions and 1 deletions
|
@ -24,10 +24,19 @@ data SideActionBlock = NoBlock | StartBlock | InBlock
|
|||
data MessageState = MessageState
|
||||
{ outputType :: OutputType
|
||||
, sideActionBlock :: SideActionBlock
|
||||
#ifdef WITH_CONCURRENTOUTPUT
|
||||
, consoleRegion :: Maybe ConsoleRegion
|
||||
, consoleRegionErrFlag :: Bool
|
||||
#endif
|
||||
}
|
||||
|
||||
instance Default MessageState
|
||||
where
|
||||
def = MessageState NormalOutput NoBlock Nothing False
|
||||
def = MessageState
|
||||
{ outputType = NormalOutput
|
||||
, sideActionBlock = NoBlock
|
||||
#ifdef WITH_CONCURRENTOUTPUT
|
||||
, consoleRegion = Nothing
|
||||
, consoleRegionErrFlag = False
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue