Try adding "-DANDROID" to your compile line.
At least one of the system header files for x86 is expecting that
macro to be defined to properly set size_t.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
Try adding "-DANDROID" to your compile command line.
When you use the "ndk-build" script, it defines this macro.
It appears that the header file which sets 'size_t' requires that
macro to be defined.
I'll follow up if the header files needs to be changed to use a
different macro which is already defined by the standalone toolchain
(__ANDROID__) or if the standalone toolchain should also define the
ANDROID macro automatically.