aboutsummaryrefslogtreecommitdiffstats
path: root/memmem.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--memmem.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/memmem.c b/memmem.c
index 0046e19..5affa16 100644
--- a/memmem.c
+++ b/memmem.c
@@ -1,5 +1,6 @@
/* See LICENSE file for copyright and license details. */
#include "libsimple.h"
+#ifndef TEST
void *
@@ -23,8 +24,8 @@ libsimple_memmem(const void *hay_, size_t hayn, const void *sub_, size_t subn)
}
-#ifdef TEST
-#include <assert.h>
+#else
+#include "test.h"
int
main(void)