diff options
Diffstat (limited to 'utils/genapply/Main.hs')
-rw-r--r-- | utils/genapply/Main.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/genapply/Main.hs b/utils/genapply/Main.hs index f9d6ea1e3f..90ae5d7ac0 100644 --- a/utils/genapply/Main.hs +++ b/utils/genapply/Main.hs @@ -257,7 +257,7 @@ stackCheck regstatus args args_in_regs fun_info_label (prof_sp, norm_sp) = char '}' | otherwise = empty in - vcat [ text "#ifdef PROFILING", + vcat [ text "#if defined(PROFILING)", cmp_sp prof_sp, text "#else", cmp_sp norm_sp, @@ -392,7 +392,7 @@ genMkPAP regstatus macro jump live ticker disamb shuffle_extra_args = (doc, (shuffle_prof_stack, shuffle_norm_stack)) where - doc = vcat [ text "#ifdef PROFILING", + doc = vcat [ text "#if defined(PROFILING)", shuffle_prof_doc, text "#else", shuffle_norm_doc, |