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.)
This commit is contained in:
@@ -229,6 +229,14 @@ int main(int argc, char **argv)
|
|||||||
SYS_SystemHandle syshandle;
|
SYS_SystemHandle syshandle;
|
||||||
Scene *sce;
|
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__)
|
#if defined(WIN32) || defined (__linux__)
|
||||||
int audio = 1;
|
int audio = 1;
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user