oio_errno -> oio_err_code

`errno` can't be used as a struct member on windows.
This commit is contained in:
Bert Belder 2011-04-20 03:16:57 +02:00
parent b6d4bf16a9
commit a4fb171087

4
oio.h
View File

@ -107,7 +107,7 @@ typedef enum {
OIO_EPROTONOSUPPORT,
OIO_EPROTOTYPE,
OIO_ETIMEDOUT
} oio_errno;
} oio_err_code;
struct oio_handle_s {
@ -133,7 +133,7 @@ struct oio_req_s {
struct oio_err_s {
/* read-only */
oio_errno errno;
oio_err_code code;
/* private */
int sys_errno_;
};