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>2008-02-18 20:20:04 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-02-18 20:20:04 +0300
commit0a703124e21b7e0c2dd0ebb0a1fa8eb92c21a5dc (patch)
treefe0d3efae5d032df3301a9cf022f21322bd6db60 /source/blender/blenlib
parent41e4d7e4e60866704dd307fb2bfce70c715b99f8 (diff)
moved LARGEFILE defines to BLI_storage.h
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/BLI_storage.h5
-rw-r--r--source/blender/blenlib/intern/storage.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenlib/intern/BLI_storage.h b/source/blender/blenlib/intern/BLI_storage.h
index 5e9c377c410..9cbdfa327cd 100644
--- a/source/blender/blenlib/intern/BLI_storage.h
+++ b/source/blender/blenlib/intern/BLI_storage.h
@@ -31,6 +31,11 @@
#ifndef BLI_STORAGE_H
#define BLI_STORAGE_H
+#ifndef WIN32
+#define _LARGEFILE_SOURCE 1
+#define _FILE_OFFSET_BITS 64
+#endif
+
#include "BLI_storage_types.h"
void BLI_adddirstrings(void);
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c
index 6ab44440feb..9d70d85939e 100644
--- a/source/blender/blenlib/intern/storage.c
+++ b/source/blender/blenlib/intern/storage.c
@@ -32,11 +32,6 @@
* Some really low-level file thingies.
*/
-#ifndef WIN32
-#define _LARGEFILE_SOURCE 1
-#define _FILE_OFFSET_BITS 64
-#endif
-
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>