summaryrefslogtreecommitdiff
path: root/include/errno.h
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-22 19:31:09 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-22 19:31:09 +0000
commitd98307c5af70386c4480deff87c7c9921d801c7c (patch)
tree02729e16abb8148428402c16f9b88f33f0babd49 /include/errno.h
parent718589c6589f956ae8017cc674fa85d6311e5a61 (diff)
Allow to be used in bits/syscalls.h even if _GNU_SOURCE is defined
Diffstat (limited to 'include/errno.h')
-rw-r--r--include/errno.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/errno.h b/include/errno.h
index 0a9ed3532..87edbacdb 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -66,7 +66,7 @@ __END_DECLS
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