Add support for __REDIRECT_NTH needed with eglibc.

Add support for __REDIRECT_NTH as eglibc makes use of this macro to
redirect long double functions to long functions on arch not supporting
long double.
master
Thomas Preud'homme 2010-09-11 17:57:15 +02:00
parent 3f829d11ff
commit 2596273fce
1 changed files with 3 additions and 0 deletions

View File

@ -970,6 +970,9 @@ LIBTCCAPI TCCState *tcc_new(void)
#else
tcc_define_symbol(s, "__WCHAR_TYPE__", "int");
#endif
/* glibc defines */
tcc_define_symbol(s, "__REDIRECT_NTH(name, proto, alias)", "name proto __asm__ (#alias) __THROW");
#ifndef TCC_TARGET_PE
/* default library paths */