problems porting box2d to android.

Hi all.
i'm trying to use box2d in a project for android. but i'm going the native way, i already started development
on a C/C++ framework where all the apps logic reside. i'm having problems compiling the box2d library so
i searched and found that someone did it by changing references to standard <cstdio>, <cmath>, etc. to <stdio.h>,
<math.h>, etc.
i did that, but i'm having problems with a couple files, b2BroadPhase.h, b2ContactManager.h. they give what apparently are
syntax errors:
in method b2Proxy* b2BroadPhase::GetProxy(int32 proxyId)
error: expected ')' before ';'.

and a similar error happens in the second file too.
i'll appreciate if someone can give me some suggestions here. what else is particulary necessary to build the lib in an
android ndk proj. i'm using ndk r4 for this.
cstdio and cmath are part of the standard C++ library; I would expect all C++ compilers should have it. If not, it's a bad compiler.

Anyway, that error is likely due to int32. Try changing it to int and see what happens.

-P
it turns out that the problem was "m_proxyPool[proxyId].IsValid() == false"
inside the GetProxy function. and it was causing problems because i had the great idea of placing two #define for
'true' and 'false' previously on another header :S. anyways... its fixed now.

Original thread: https://box2d.org/forum/viewtopic.php?t=6115