aboutsummaryrefslogtreecommitdiffstats
path: root/vweprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'vweprintf.c')
-rw-r--r--vweprintf.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/vweprintf.c b/vweprintf.c
index f46bd26..d994c0e 100644
--- a/vweprintf.c
+++ b/vweprintf.c
@@ -1,5 +1,6 @@
/* See LICENSE file for copyright and license details. */
#include "libsimple.h"
+#ifndef TEST
extern char *argv0;
@@ -54,3 +55,15 @@ libsimple_vweprintf(const char *fmt, va_list ap) /* TODO test */
errno = saved_errno;
}
+
+
+#else
+#include "test.h"
+
+int
+main(void)
+{
+ return 0;
+}
+
+#endif