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
This commit is contained in:
Campbell Barton 2006-03-30 22:44:33 +00:00
parent e677cec518
commit 79e58e66c2

@ -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