Define EOWNERDEAD and ENOTRECOVERABLE if not already defined.

This commit is contained in:
Ulrich Drepper 2005-12-27 15:23:06 +00:00
parent 112ae4478b
commit 7951fa108f

View 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
@ -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__));