From 458c8270773d7f1bb70797b6bc16df5d54ffb45d Mon Sep 17 00:00:00 2001 From: Araq Date: Tue, 22 Jan 2019 11:45:12 +0100 Subject: make --define:noSignalHandler compile again --- lib/system.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/system.nim') diff --git a/lib/system.nim b/lib/system.nim index d4a86e53b..0241b92e0 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -3463,7 +3463,7 @@ when not defined(JS): #and not defined(nimscript): ## allows you to override the behaviour of your application when CTRL+C ## is pressed. Only one such hook is supported. - when not defined(useNimRtl): + when not defined(noSignalHandler) and not defined(useNimRtl): proc unsetControlCHook*() ## reverts a call to setControlCHook -- cgit 1.4.1-2-gfad0