Browse Source

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

Peter S. Mazinger 18 years ago
parent
commit
d98307c5af
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/errno.h

+ 1 - 1
include/errno.h

@@ -66,7 +66,7 @@ __END_DECLS
    that printing `error_t' values in the debugger shows the names.  We
    that printing `error_t' values in the debugger shows the names.  We
    might need this definition sometimes even if this file was included
    might need this definition sometimes even if this file was included
    before.  */
    before.  */
-#if defined __USE_GNU || defined __need_error_t
+#if ( defined __USE_GNU || defined __need_error_t ) && !defined __ASSEMBLER__
 # ifndef __error_t_defined
 # ifndef __error_t_defined
 typedef int error_t;
 typedef int error_t;
 #  define __error_t_defined	1
 #  define __error_t_defined	1