Browse Source

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

tags/json-c-0.13-20171207
Eric Haszlakiewicz 9 years ago
parent
commit
bad6c9a427
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      tests/strerror_override.c

+ 4
- 0
tests/strerror_override.c 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),


Loading…
Cancel
Save