aboutsummaryrefslogtreecommitdiffstats
path: root/rawmemchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'rawmemchr.c')
-rw-r--r--rawmemchr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/rawmemchr.c b/rawmemchr.c
index 57f584d..9bc02e0 100644
--- a/rawmemchr.c
+++ b/rawmemchr.c
@@ -1,5 +1,6 @@
/* See LICENSE file for copyright and license details. */
#include "libsimple.h"
+#ifndef TEST
void *
@@ -11,8 +12,8 @@ libsimple_rawmemchr(const void *s_, int c)
}
-#ifdef TEST
-#include <assert.h>
+#else
+#include "test.h"
int
main(void)