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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-03-13 21:16:47 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-03-13 21:16:47 +0400
commita3ad35cf3a3a28ee51c30b88bc439af8dce9f7e4 (patch)
treef51ac6d2acdbb2a21fea848fd96b27461621b17c /source/blender/blenlib/BLI_fileops.h
parent80de3192a78a78447810a42c9c404e9b0244dfb2 (diff)
Fix #34626: voxel data texture can't read > 2GB files on Windows.
Also fixed BLI_fopen not being used for AVI movie files, which meant AVI read could fail reading a file from a path with special characters on Windows.
Diffstat (limited to 'source/blender/blenlib/BLI_fileops.h')
-rw-r--r--source/blender/blenlib/BLI_fileops.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_fileops.h b/source/blender/blenlib/BLI_fileops.h
index 217afb1ca21..820f32f7158 100644
--- a/source/blender/blenlib/BLI_fileops.h
+++ b/source/blender/blenlib/BLI_fileops.h
@@ -33,6 +33,14 @@
#ifndef __BLI_FILEOPS_H__
#define __BLI_FILEOPS_H__
+/* for 64 bit fseek, ftell, .. */
+#ifdef WIN32
+#include "BLI_winstuff.h"
+#endif
+
+/* for bool */
+#include "BLI_utildefines.h"
+
#include <stdio.h>
#include <sys/stat.h>