Issue #300: Some platforms, such as MinGW, don't have ETXTBSY and ENOTBLK, so skip those there.

This commit is contained in:
Eric Haszlakiewicz
2017-02-05 04:43:54 +00:00
parent 9a64fd7d55
commit bad6c9a427

View File

@@ -24,7 +24,9 @@ static struct {
ENTRY(ENOMEM),
ENTRY(EACCES),
ENTRY(EFAULT),
#ifdef ENOTBLK
ENTRY(ENOTBLK),
#endif
ENTRY(EBUSY),
ENTRY(EEXIST),
ENTRY(EXDEV),
@@ -35,7 +37,9 @@ static struct {
ENTRY(ENFILE),
ENTRY(EMFILE),
ENTRY(ENOTTY),
#ifdef ETXTBSY
ENTRY(ETXTBSY),
#endif
ENTRY(EFBIG),
ENTRY(ENOSPC),
ENTRY(ESPIPE),