aboutsummaryrefslogtreecommitdiffstats
path: root/enmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--enmalloc.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/enmalloc.c b/enmalloc.c
index db26753..0a13f03 100644
--- a/enmalloc.c
+++ b/enmalloc.c
@@ -1,5 +1,6 @@
/* See LICENSE file for copyright and license details. */
#include "libsimple.h"
+#ifndef TEST
extern char *argv0;
@@ -15,3 +16,15 @@ libsimple_enmalloc(int status, size_t n) /* TODO test */
}
return ret;
}
+
+
+#else
+#include "test.h"
+
+int
+main(void)
+{
+ return 0;
+}
+
+#endif