summaryrefslogtreecommitdiff
path: root/includes/stg/Ticky.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/stg/Ticky.h')
-rw-r--r--includes/stg/Ticky.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/stg/Ticky.h b/includes/stg/Ticky.h
index 1e16a1ae08..5e2c372610 100644
--- a/includes/stg/Ticky.h
+++ b/includes/stg/Ticky.h
@@ -35,7 +35,7 @@ extern W_ top_ct[];
same declarations for both extern decls (which are included everywhere)
and initializations (which only happen once)
TICKY_C is defined only in rts/Ticky.c */
-#ifdef TICKY_C
+#if defined(TICKY_C)
#define INIT(ializer) = ializer
#define EXTERN
#else
@@ -197,8 +197,8 @@ EXTERN StgInt RET_UNBOXED_TUP_hst[TICKY_BIN_COUNT] INIT({0});
Note that these macros must be defined whether
TICKY_TICKY is defined or not. */
-
-#ifndef CMINUSMINUS
+
+#if !defined(CMINUSMINUS)
#define TICK_BUMP_BY(ctr,n) ctr = (StgInt) ctr + n
#define TICK_BUMP(ctr) TICK_BUMP_BY(ctr,1)