Red Hat 4.2 has not __set_errno.
CVS patchset: 3624 CVS date: 2000/03/11 21:13:18
This commit is contained in:
parent
15432f9089
commit
3d5d32e294
|
@ -36,6 +36,14 @@
|
|||
# define REAL_DIR_ENTRY(dp) (dp->d_ino != 0)
|
||||
#endif /* POSIX */
|
||||
|
||||
#include <errno.h>
|
||||
#ifndef errno
|
||||
extern int errno;
|
||||
#endif
|
||||
#ifndef __set_errno
|
||||
# define __set_errno(val) errno = (val)
|
||||
#endif
|
||||
|
||||
/* Outcomment the following line for production quality code. */
|
||||
/* #define NDEBUG 1 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue