From 1a834f6bd8897e1dfd3781a296f6bffc26deeece Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Thu, 8 Aug 2019 14:24:34 -0400 Subject: replace all instances of test_defined() with #ifdef tests --- stdalign.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stdalign.c') diff --git a/stdalign.c b/stdalign.c index 3cb7494..67ce67c 100644 --- a/stdalign.c +++ b/stdalign.c @@ -10,8 +10,8 @@ void test_stdalign_h(void) /* alignas() */ /* alignof() */ - test_defined(__alignas_is_defined); - test_defined(__alignof_is_defined); + test_int_equals(__alignas_is_defined, 1); + test_int_equals(__alignof_is_defined, 1); testing_end(); } -- cgit v1.2.1