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
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2007-01-18 23:57:08 +0300
committerTon Roosendaal <ton@blender.org>2007-01-18 23:57:08 +0300
commitb8f47f920460134c3e83fe914678bd26d6d30fb1 (patch)
tree3d3caacb3f5c5efd4f96a964cf0b5775063b867b /source
parent719964ea8eb947949d035007ff1b612a0fb81da6 (diff)
Small fix to prevent people to compile 64 bits blenders, without knowing
it might be harmful. (It will print warning in console and exits Blender.)
Diffstat (limited to 'source')
-rw-r--r--source/creator/creator.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index b3e807bef03..45ceb9781cc 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -229,6 +229,14 @@ int main(int argc, char **argv)
SYS_SystemHandle syshandle;
Scene *sce;
+ /* temporary: prevent people to make/use 64 bits versions without them knowing it might be
+ risky. I don't know for sure yet if we get problems, but I rather not get the burden of
+ having to fix all faulty saved 64 bits files (ton) */
+ if(sizeof(void *)==8) {
+ printf("64 bits compiles will give incorrectly saved .blend files. Do not use it. For testing purposes please remove this line from creator.c\n");
+ exit(0);
+ }
+
#if defined(WIN32) || defined (__linux__)
int audio = 1;
#else