[Bf-blender-cvs] [b0906bc] master: Cleanup: remove win32 workaround

Campbell Barton noreply at git.blender.org
Fri Apr 10 14:07:07 CEST 2015


Commit: b0906bcc5e1b5ce7049e0b72fcfc0d0916c20563
Author: Campbell Barton
Date:   Fri Apr 10 21:49:07 2015 +1000
Branches: master
https://developer.blender.org/rBb0906bcc5e1b5ce7049e0b72fcfc0d0916c20563

Cleanup: remove win32 workaround

===================================================================

M	source/blender/blenlib/intern/BLI_filelist.c

===================================================================

diff --git a/source/blender/blenlib/intern/BLI_filelist.c b/source/blender/blenlib/intern/BLI_filelist.c
index b934b51..e9ed785 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




More information about the Bf-blender-cvs mailing list