From 79d3649f53f352e363c67085686db8fe98052d08 Mon Sep 17 00:00:00 2001 From: Olexa Bilaniuk Date: Sat, 26 Aug 2017 20:40:58 -0400 Subject: [PATCH] Bugfixes in check_reduction.c --- tests/check_reduction.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/check_reduction.c b/tests/check_reduction.c index ca52946fa5..973a348299 100644 --- a/tests/check_reduction.c +++ b/tests/check_reduction.c @@ -7,6 +7,7 @@ #include #include #include +#include extern void *ctx; @@ -18,7 +19,9 @@ void teardown(void); /* Defines */ #define MAXERRPRINT 16 #define ga_assert_ok(e) ck_assert_int_eq(e, GA_NO_ERROR) - +#ifndef ck_assert_ptr_nonnull +#define ck_assert_ptr_nonnull(p) ck_assert_msg((p), "Null Pointer!") +#endif