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:
authorNathan Letwory <nathan@letworyinteractive.com>2007-01-19 08:23:58 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2007-01-19 08:23:58 +0300
commit6b0e6ccd85c07687258d6d4a5e40d2c56346b0e4 (patch)
treebf1fbb28fe5ba00563282e6a0dd1cedc0a1a8762 /source
parent00e956477e32af21ce7386748c9d9eb8057e5454 (diff)
* moved the 64bit checking code _after_ the int audio stuff, so msvc compiles happily
again.
Diffstat (limited to 'source')
-rw-r--r--source/creator/creator.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 45ceb9781cc..37df17e3bad 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -229,6 +229,12 @@ int main(int argc, char **argv)
SYS_SystemHandle syshandle;
Scene *sce;
+#if defined(WIN32) || defined (__linux__)
+ int audio = 1;
+#else
+ int audio = 0;
+#endif
+
/* 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) */
@@ -236,12 +242,7 @@ int main(int argc, char **argv)
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
- int audio = 0;
-#endif
+
setCallbacks();
#ifdef __APPLE__
/* patch to ignore argument finder gives us (pid?) */