diff options
| -rw-r--r-- | uisimulator/common/io.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c index 2195a5e..d094fee 100644 --- a/uisimulator/common/io.c +++ b/uisimulator/common/io.c @@ -346,12 +346,14 @@ read_next: if (STAT(buffer, &s)) /* get info */ { +#ifdef EOVERFLOW /* File size larger than 2 GB? */ if (errno == EOVERFLOW) { DEBUGF("stat() overflow for %s. Skipping\n", buffer); goto read_next; } +#endif return NULL; } |