diff options
-rw-r--r-- | docs/users_guide/phases.rst | 2 | ||||
-rw-r--r-- | rts/RtsFlags.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/users_guide/phases.rst b/docs/users_guide/phases.rst index 1d3b2fbc5a..fa28874473 100644 --- a/docs/users_guide/phases.rst +++ b/docs/users_guide/phases.rst @@ -365,7 +365,7 @@ defined by your local GHC installation, the following trick is useful: .. code-block:: c - #ifdef MIN_VERSION_GLASGOW_HASKELL + #if defined(MIN_VERSION_GLASGOW_HASKELL) #if MIN_VERSION_GLASGOW_HASKELL(7,10,2,0) /* code that applies only to GHC 7.10.2 or later */ #endif diff --git a/rts/RtsFlags.c b/rts/RtsFlags.c index 0fb6ed6d9b..8d9b052bc7 100644 --- a/rts/RtsFlags.c +++ b/rts/RtsFlags.c @@ -830,7 +830,7 @@ error = true; # define TRACING_BUILD_ONLY(x) x #else # define TRACING_BUILD_ONLY(x) \ -errorBelch("the flag %s requires the program to be built with -eventlog or -debug", \ +errorBelch("the flag %s requires the program to be built with -eventlog, -prof or -debug", \ rts_argv[arg]); \ error = true; #endif |