Define EOWNERDEAD and ENOTRECOVERABLE if not already defined.
authorUlrich Drepper <drepper@redhat.com>
Tue, 27 Dec 2005 15:23:06 +0000 (15:23 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 27 Dec 2005 15:23:06 +0000 (15:23 +0000)
sysdeps/unix/sysv/linux/alpha/bits/errno.h

index 9cdc167..8b2f152 100644 (file)
@@ -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
 #  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__));