aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-28 23:58:20 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-28 23:58:20 +0000
commitd86c4cf889f58e768d4a1dc25157dc69bfc8d0ef (patch)
tree48b0c111d3baf43263e8a0b41cd42e6e1bc37e4e
parent50d9769d4b242ac20289d0880531cba5f65ed913 (diff)
downloadglibc-d86c4cf889f58e768d4a1dc25157dc69bfc8d0ef.tar.xz
glibc-d86c4cf889f58e768d4a1dc25157dc69bfc8d0ef.zip
(ECANCELED): Define to ECANCELLED if not defined by kernel headers.
-rw-r--r--sysdeps/unix/sysv/linux/hppa/bits/errno.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/errno.h b/sysdeps/unix/sysv/linux/hppa/bits/errno.h
index 4d75ff1f61..003d71f622 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/errno.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/errno.h
@@ -1,5 +1,5 @@
/* Error constants. Linux/HPPA specific version.
- Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1996,1997,1998,1999,2000,2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -26,7 +26,9 @@
/* Linux also has no ECANCELED error code. Since it is not used here
we define it to an invalid value. */
-# define ECANCELED 125
+# ifndef ECANCELED
+# define ECANCELED ECANCELLED
+# endif
# ifndef __ASSEMBLER__
/* Function to get address of global `errno' variable. */
@@ -44,6 +46,6 @@ extern int *__errno_location (void) __THROW __attribute__ ((__const__));
define only the values EDOM, EILSEQ and ERANGE in case __need_Emath is
defined. */
# define EDOM 33 /* Math argument out of domain of function. */
-# define EILSEQ 84 /* Illegal byte sequence. */
+# define EILSEQ 47 /* Illegal byte sequence. */
# define ERANGE 34 /* Math result not representable. */
#endif /* !_ERRNO_H && __need_Emath */