diff options
author | John Ericson <git@JohnEricson.me> | 2019-07-10 11:54:47 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-07-14 01:21:48 -0400 |
commit | d7c6c4717cdf1b7bd8550e37da66c52275c802f0 (patch) | |
tree | 7488a774c7b8e288b4373bcdc9121b53ba1492ea /rts/win32 | |
parent | bd9fc1b2adea718be089b8370d2e82ea55af6539 (diff) | |
download | haskell-d7c6c4717cdf1b7bd8550e37da66c52275c802f0.tar.gz |
Expunge #ifdef and #ifndef from the codebase
These are unexploded minds as far as the linter is concerned. I don't
want to hit in my MRs by mistake!
I did this with `sed`, and then rolled back some changes in the docs,
config.guess, and the linter itself.
Diffstat (limited to 'rts/win32')
-rw-r--r-- | rts/win32/ConsoleHandler.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rts/win32/ConsoleHandler.c b/rts/win32/ConsoleHandler.c index 545a76a004..3ddf4103da 100644 --- a/rts/win32/ConsoleHandler.c +++ b/rts/win32/ConsoleHandler.c @@ -37,7 +37,7 @@ void initUserSignals(void) { console_handler = STG_SIG_DFL; -#if !defined (THREADED_RTS) +#if !defined(THREADED_RTS) stg_pending_events = 0; if (hConsoleEvent == INVALID_HANDLE_VALUE) { hConsoleEvent = @@ -59,7 +59,7 @@ freeSignalHandlers(void) { void finiUserSignals(void) { -#if !defined (THREADED_RTS) +#if !defined(THREADED_RTS) if (hConsoleEvent != INVALID_HANDLE_VALUE) { CloseHandle(hConsoleEvent); } @@ -162,7 +162,7 @@ void awaitUserSignals(void) } -#if !defined (THREADED_RTS) +#if !defined(THREADED_RTS) /* * Function: startSignalHandlers() * |