forked from Mirrors/tinycc
Compile tccasm.c conditionally (TCC_CONFIG_ASM)
Only compile the content of tccasm.c if inline assembly is supported for this architecture by testing the presence of macro TCC_CONFIG_ASM.master
parent
83d57c06f4
commit
519a9040a1
2
tccasm.c
2
tccasm.c
|
@ -19,6 +19,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "tcc.h"
|
#include "tcc.h"
|
||||||
|
#ifdef CONFIG_TCC_ASM
|
||||||
|
|
||||||
ST_FUNC int asm_get_local_label_name(TCCState *s1, unsigned int n)
|
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);
|
cstr_free(&astr);
|
||||||
}
|
}
|
||||||
|
#endif /* CONFIG_TCC_ASM */
|
||||||
|
|
Loading…
Reference in New Issue