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:
authorSergey Sharybin <sergey.vfx@gmail.com>2010-11-04 20:02:25 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2010-11-04 20:02:25 +0300
commit228ed6f08653a4d91883b3734b2e7606463ce5b5 (patch)
tree7cdb5154389e85743010a871c3cfe05bc2e6cb0d /source/blender/blenlib/BLI_storage.h
parentb2d3843992850560f03051d49528c287065cb8f1 (diff)
Global definition of _LARGEFILE_SOURCE, _FILE_OFFSET_BITS and _LARGEFILE64_SOURCE at linux and win32/mingw platforms
Needed to work properly with large files at 32bit system (display correct size in file browser, i.e.) This will also fix compilation with zlib 1.2.5
Diffstat (limited to 'source/blender/blenlib/BLI_storage.h')
-rw-r--r--source/blender/blenlib/BLI_storage.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/source/blender/blenlib/BLI_storage.h b/source/blender/blenlib/BLI_storage.h
index e443a853324..e52ea1600eb 100644
--- a/source/blender/blenlib/BLI_storage.h
+++ b/source/blender/blenlib/BLI_storage.h
@@ -29,17 +29,6 @@
#ifndef BLI_STORAGE_H
#define BLI_STORAGE_H
-/* NOTE: these have to be defined before including unistd.h! */
-#ifndef __APPLE__
-#ifndef WIN32
-#ifndef _LARGEFILE_SOURCE
-#define _LARGEFILE_SOURCE
-#define _LARGEFILE64_SOURCE
-#define _FILE_OFFSET_BITS 64
-#endif
-#endif
-#endif
-
#ifdef WIN32
/* for size_t, only needed on win32 for some reason */
#include <stddef.h>