summaryrefslogtreecommitdiffstats
path: root/src/dir.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2011-04-21 19:42:44 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2011-04-21 19:42:44 +0200
commit791794a74fdaa10f1acc707b254161b23007ae26 (patch)
treeb8a5806b41a477c68d3d8519cd9db3d691f44b69 /src/dir.h
parentb555b3a4f62847a5e27173fc48548d5574fe37d1 (diff)
Workaround for Dos/DJGPP, stat.st_size seems to be 31 bits only.
Diffstat (limited to 'src/dir.h')
-rw-r--r--src/dir.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dir.h b/src/dir.h
index 5e599eb..8e55672 100644
--- a/src/dir.h
+++ b/src/dir.h
@@ -64,6 +64,9 @@ struct file_data
file_data_t *next;
char name[DIR_NAME_LEN];
struct stat stat;
+#ifdef DJGPP
+ uint64_t file_size;
+#endif
unsigned int status;
};
@@ -72,6 +75,9 @@ typedef struct
struct td_list_head list;
char *name;
struct stat stat;
+#ifdef DJGPP
+ uint64_t file_size;
+#endif
unsigned int status;
} file_info_t;