Cleanup: remove win32 workaround

This commit is contained in:
Campbell Barton 2015-04-10 21:49:07 +10:00
parent aac0df956f
commit b0906bcc5e
1 changed files with 4 additions and 7 deletions

View File

@ -218,19 +218,16 @@ static void bli_adddirstrings(struct BuildDirCtx *dir_ctx)
const char *types[8] = {"---", "--x", "-w-", "-wx", "r--", "r-x", "rw-", "rwx"};
/* symbolic display, indexed by mode field value */
int num;
#ifdef WIN32
__int64 st_size;
#else
off_t st_size;
int mode;
#endif
struct direntry *file;
struct tm *tm;
time_t zero = 0;
for (num = 0, file = dir_ctx->files; num < dir_ctx->nrfiles; num++, file++) {
#ifndef WIN32
int mode;
#endif
for (num = 0, file = dir_ctx->files; num < dir_ctx->nrfiles; num++, file++) {
/* Mode */
#ifdef WIN32