added workaround for missing CPP definitions on FreeBSD.
This commit is contained in:
parent
399a428382
commit
d231301e2f
|
@ -1 +1 @@
|
|||
1849
|
||||
1850
|
||||
|
|
|
@ -31,6 +31,22 @@ typedef struct errno_info {
|
|||
#define ECANCELED 140
|
||||
#endif
|
||||
|
||||
#ifndef ENODATA
|
||||
#define ENODATA 96
|
||||
#endif
|
||||
|
||||
#ifndef ENOSR
|
||||
#define ENOSR 98
|
||||
#endif
|
||||
|
||||
#ifndef ENOSTR
|
||||
#define ENOSTR 99
|
||||
#endif
|
||||
|
||||
#ifndef ETIME
|
||||
#define ETIME 101
|
||||
#endif
|
||||
|
||||
static errno_info errno_table[] = {
|
||||
/* errnos from POSIX IEEE Std 1003.1 2004 Edition */
|
||||
{E2BIG, "E2BIG", fix(-1)},
|
||||
|
|
Loading…
Reference in New Issue