Handle __set_errno correctly.
From-SVN: r15502
This commit is contained in:
parent
11dbec6686
commit
5ae9a80ae1
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
1997-09-17 02:50 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* libioP.h: Define __set_errno if not already defined.
|
||||||
|
* fileops.c: Don't try to define __set_errno, it's already defined.
|
||||||
|
|
||||||
1997-09-15 02:37 Ulrich Drepper <drepper@cygnus.com>
|
1997-09-15 02:37 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* config/linux.mt: Rewrite for use with glibc 2.
|
* config/linux.mt: Rewrite for use with glibc 2.
|
||||||
|
|
|
@ -24,8 +24,9 @@
|
||||||
General Public License. */
|
General Public License. */
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
/* This is a hack until Uli gets me the real fix. */
|
#ifndef __set_errno
|
||||||
#define __set_errno(Val) (errno = (Val))
|
# define __set_errno(Val) errno = (Val)
|
||||||
|
#endif
|
||||||
#if defined __GLIBC__ && __GLIBC__ >= 2
|
#if defined __GLIBC__ && __GLIBC__ >= 2
|
||||||
# include <bits/libc-lock.h>
|
# include <bits/libc-lock.h>
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Reference in a new issue