summaryrefslogtreecommitdiff
path: root/testsuite/tests/rts/testheapalloced.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rts/testheapalloced.c')
-rw-r--r--testsuite/tests/rts/testheapalloced.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tests/rts/testheapalloced.c b/testsuite/tests/rts/testheapalloced.c
index a28079572a..240f787c14 100644
--- a/testsuite/tests/rts/testheapalloced.c
+++ b/testsuite/tests/rts/testheapalloced.c
@@ -1,10 +1,10 @@
#include "Rts.h"
#include "RtsFlags.h"
-#ifdef DEBUG
+#if defined(DEBUG)
#define INLINE_HEADER
#endif
#include "MBlock.h"
-#ifdef DEBUG
+#if defined(DEBUG)
extern void *getFirstMBlock(void);
extern void *getNextMBlock(void *mblock);
#endif
@@ -42,7 +42,7 @@ int main (int argc, char *argv[])
a[j] = allocGroup_lock(rand() % MAXALLOC + 1);
}
-#ifdef DEBUG
+#if defined(DEBUG)
{
void *p;
i = 0;