aboutsummaryrefslogtreecommitdiffstats
path: root/asprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'asprintf.c')
-rw-r--r--asprintf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/asprintf.c b/asprintf.c
index e57c320..78e00ca 100644
--- a/asprintf.c
+++ b/asprintf.c
@@ -1,5 +1,6 @@
/* See LICENSE file for copyright and license details. */
#include "libsimple.h"
+#ifndef TEST
int
@@ -14,8 +15,8 @@ libsimple_asprintf(char **strp, const char *fmt, ...)
}
-#ifdef TEST
-#include <assert.h>
+#else
+#include "test.h"
int
main(void)