Thanks I will have a look at that.
With "typedef long long __int64;" being the problem on line 47.
Could it be that mingw32 simply doesn't understand "long long" ? (probably the second "long" confuses it into an "empty declaration").
If so, either find the real type name of "long long" that mingw32 uses (if it exists), or simply #ifdef it out completely.