mirror of
https://github.com/json-c/json-c.git
synced 2026-03-13 18:19:06 +08:00
Issue #300: Some platforms, such as MinGW, don't have ETXTBSY and ENOTBLK, so skip those there.
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user