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>2006-03-31 02:44:33 +0400
committerCampbell Barton <ideasman42@gmail.com>2006-03-31 02:44:33 +0400
commit79e58e66c2d3bfb9177d9161270563ccbd4fe1f0 (patch)
treea99759ba25ee35b5246ef970cfac6d930cd4c73e /source/blender/blenloader/intern/genfile.c
parente677cec5188035a65433338b1910b0436b59abde (diff)
FREE_WINDOWS was declaring a typedef for __int64. __int64 was alredy defined.
so WIngws' GCC was seeing it as typedef long long long long... and not compiling. Added an ifndef around this decleration. safe solution. but probably remove the typedef entirely. - Cam
Diffstat (limited to 'source/blender/blenloader/intern/genfile.c')
-rw-r--r--source/blender/blenloader/intern/genfile.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/genfile.c b/source/blender/blenloader/intern/genfile.c
index 39a7f3e4e62..55cfc13fdec 100644
--- a/source/blender/blenloader/intern/genfile.c
+++ b/source/blender/blenloader/intern/genfile.c
@@ -61,9 +61,14 @@
#include "genfile.h"
+/* gcc 4.1 on mingw was complaining that __int64 was alredy defined
+actually is saw the line below as typedef long long long long...
+Anyhow, since its alredy defined, its safe to do an ifndef here- Cambpell*/
#ifdef FREE_WINDOWS
+#ifndef __int64
typedef long long __int64;
#endif
+#endif
/*
* - please note: no builtin security to detect input of double structs