Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-04-10 14:49:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-04-10 15:06:28 +0300
commitb0906bcc5e1b5ce7049e0b72fcfc0d0916c20563 (patch)
tree19fdaa91ecd212469995cf8f4cf0c618456acf29 /source/blender/blenlib/intern/BLI_filelist.c
parentaac0df956f22f7989e88958cbd3723b2bdee3d27 (diff)
Cleanup: remove win32 workaround
Diffstat (limited to 'source/blender/blenlib/intern/BLI_filelist.c')
-rw-r--r--source/blender/blenlib/intern/BLI_filelist.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/source/blender/blenlib/intern/BLI_filelist.c b/source/blender/blenlib/intern/BLI_filelist.c
index b934b51375b..e9ed785efc7 100644
--- a/source/blender/blenlib/intern/BLI_filelist.c
+++ b/source/blender/blenlib/intern/BLI_filelist.c
@@ -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