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