summaryrefslogtreecommitdiff
path: root/libraries/ghci/GHCi/ObjLink.hs
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ghci/GHCi/ObjLink.hs')
-rw-r--r--libraries/ghci/GHCi/ObjLink.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/ghci/GHCi/ObjLink.hs b/libraries/ghci/GHCi/ObjLink.hs
index 3adb7ebaf9..0d7b2aeff8 100644
--- a/libraries/ghci/GHCi/ObjLink.hs
+++ b/libraries/ghci/GHCi/ObjLink.hs
@@ -180,14 +180,14 @@ foreign import ccall unsafe "removeLibrarySearchPath" c_removeLibrarySearchPath
#include "ghcautoconf.h"
cLeadingUnderscore :: Bool
-#ifdef LEADING_UNDERSCORE
+#if defined(LEADING_UNDERSCORE)
cLeadingUnderscore = True
#else
cLeadingUnderscore = False
#endif
isWindowsHost :: Bool
-#ifdef mingw32_HOST_OS
+#if defined(mingw32_HOST_OS)
isWindowsHost = True
#else
isWindowsHost = False