aboutsummaryrefslogtreecommitdiff
path: root/tccasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccasm.c')
-rw-r--r--tccasm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tccasm.c b/tccasm.c
index 527c006..d1d2af1 100644
--- a/tccasm.c
+++ b/tccasm.c
@@ -19,6 +19,7 @@
*/
#include "tcc.h"
+#ifdef CONFIG_TCC_ASM
ST_FUNC int asm_get_local_label_name(TCCState *s1, unsigned int n)
{
@@ -1115,3 +1116,4 @@ ST_FUNC void asm_global_instr(void)
cstr_free(&astr);
}
+#endif /* CONFIG_TCC_ASM */