aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libtcc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libtcc.c b/libtcc.c
index 159e23b..5e497c9 100644
--- a/libtcc.c
+++ b/libtcc.c
@@ -980,6 +980,7 @@ LIBTCCAPI TCCState *tcc_new(void)
#endif
/* glibc defines */
+ tcc_define_symbol(s, "__REDIRECT(name, proto, alias)", "name proto __asm__ (#alias)");
tcc_define_symbol(s, "__REDIRECT_NTH(name, proto, alias)", "name proto __asm__ (#alias) __THROW");
#ifndef TCC_TARGET_PE