[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r10850 - in /trunk/localedef: ChangeLog.eglibc include/sys/cdefs.h



Author: maxim
Date: Tue Jun 29 09:36:45 2010
New Revision: 10850

Log:
	* include/sys/cdefs.h (__REDIRECT_NTH): Define if not present in host
	headers.

Modified:
    trunk/localedef/ChangeLog.eglibc
    trunk/localedef/include/sys/cdefs.h

Modified: trunk/localedef/ChangeLog.eglibc
==============================================================================
--- trunk/localedef/ChangeLog.eglibc (original)
+++ trunk/localedef/ChangeLog.eglibc Tue Jun 29 09:36:45 2010
@@ -1,3 +1,8 @@
+2010-06-29  Maxim Kuvyrkov  <maxim@xxxxxxxxxxxxxxxx>
+
+	* include/sys/cdefs.h (__REDIRECT_NTH): Define if not present in host
+	headers.
+
 2009-08-03  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* Makefile.in (datarootdir): Define.

Modified: trunk/localedef/include/sys/cdefs.h
==============================================================================
--- trunk/localedef/include/sys/cdefs.h (original)
+++ trunk/localedef/include/sys/cdefs.h Tue Jun 29 09:36:45 2010
@@ -36,3 +36,13 @@
 # define __extern_always_inline extern __always_inline
 #endif
 #endif
+
+#if !defined(__REDIRECT_NTH) && defined(__GNUC__) && __GNUC__ >= 2
+# ifdef __cplusplus
+#  define __REDIRECT_NTH(name, proto, alias) \
+     name proto __THROW __asm__ (__ASMNAME (#alias))
+# else
+#  define __REDIRECT_NTH(name, proto, alias) \
+     name proto __asm__ (__ASMNAME (#alias)) __THROW
+# endif
+#endif