aboutsummaryrefslogtreecommitdiff
path: root/tcctools.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcctools.c')
-rw-r--r--tcctools.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcctools.c b/tcctools.c
index 0e2755b..cfcb03d 100644
--- a/tcctools.c
+++ b/tcctools.c
@@ -543,6 +543,7 @@ ST_FUNC void gen_makedeps(TCCState *s, const char *target, const char *filename)
fclose(depout);
}
+#ifdef TCC_IS_NATIVE
/* -------------------------------------------------------------- */
/* run test snippets from file */
@@ -647,5 +648,6 @@ ST_FUNC int tcc_tool_test(TCCState *s, int argc, char **argv)
tcc_free(buf);
exit(0);
}
+#endif /* TCC_IS_NATIVE */
/* -------------------------------------------------------------- */