From: Ulrich Drepper Date: Tue, 27 Dec 2005 15:23:06 +0000 (+0000) Subject: Define EOWNERDEAD and ENOTRECOVERABLE if not already defined. X-Git-Tag: upstream/2.30~10627^2~984 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7951fa108f8e3c2885604b32e1cee273ff0479ea;p=external%2Fglibc.git Define EOWNERDEAD and ENOTRECOVERABLE if not already defined. --- diff --git a/sysdeps/unix/sysv/linux/alpha/bits/errno.h b/sysdeps/unix/sysv/linux/alpha/bits/errno.h index 9cdc167..8b2f152 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/errno.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/errno.h @@ -1,5 +1,5 @@ /* Error constants. Linux/Alpha specific version. - Copyright (C) 1996, 1997, 1998, 1999, 2002 Free Software Foundation, Inc. + Copyright (C) 1996,1997,1998,1999,2002,2005 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 @@ -31,6 +31,12 @@ # define ECANCELED 131 # endif +/* Support for error codes to support robust mutexes was added later, too. */ +# ifndef EOWNERDEAD +# define EOWNERDEAD 136 +# define ENOTRECOVERABLE 137 +# endif + # ifndef __ASSEMBLER__ /* Function to get address of global `errno' variable. */ extern int *__errno_location (void) __THROW __attribute__ ((__const__));