svn commit: trunk/uClibc/include

psm at uclibc.org psm at uclibc.org
Sun Jan 22 19:31:10 UTC 2006


Author: psm
Date: 2006-01-22 11:31:09 -0800 (Sun, 22 Jan 2006)
New Revision: 13491

Log:
Allow to be used in bits/syscalls.h even if _GNU_SOURCE is defined

Modified:
   trunk/uClibc/include/errno.h


Changeset:
Modified: trunk/uClibc/include/errno.h
===================================================================
--- trunk/uClibc/include/errno.h	2006-01-22 04:54:56 UTC (rev 13490)
+++ trunk/uClibc/include/errno.h	2006-01-22 19:31:09 UTC (rev 13491)
@@ -66,7 +66,7 @@
    that printing `error_t' values in the debugger shows the names.  We
    might need this definition sometimes even if this file was included
    before.  */
-#if defined __USE_GNU || defined __need_error_t
+#if ( defined __USE_GNU || defined __need_error_t ) && !defined __ASSEMBLER__
 # ifndef __error_t_defined
 typedef int error_t;
 #  define __error_t_defined	1




More information about the uClibc-cvs mailing list