summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uisimulator/common/io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c
index 2195a5e86f..d094feee6b 100644
--- a/uisimulator/common/io.c
+++ b/uisimulator/common/io.c
@@ -346,12 +346,14 @@ read_next:
346 346
347 if (STAT(buffer, &s)) /* get info */ 347 if (STAT(buffer, &s)) /* get info */
348 { 348 {
349#ifdef EOVERFLOW
349 /* File size larger than 2 GB? */ 350 /* File size larger than 2 GB? */
350 if (errno == EOVERFLOW) 351 if (errno == EOVERFLOW)
351 { 352 {
352 DEBUGF("stat() overflow for %s. Skipping\n", buffer); 353 DEBUGF("stat() overflow for %s. Skipping\n", buffer);
353 goto read_next; 354 goto read_next;
354 } 355 }
356#endif
355 357
356 return NULL; 358 return NULL;
357 } 359 }