I would like to know when and how the _INCLUDE_NIMU_CODE should be defined for the NDK.
I previously was advised that the reason for IFSetPad undefined error in linking a project with PPP was because the if.c file is encased in
#ifndef _INCLUDE_NIMU_CODE
I overcame this by copying the if.c file into my project director and removing the #ifndef wrapper.
However this then makes me wonder are there other bits of code I should be executing which are not because _INCLUDE_NIMU_CODE is not defined
I have searched everywhere and can find a couple of other instances where people have had linker errors because this is not defined but no instructions as to when it should be defined and where that define needs to be made.
There is reference to adding -D _INCLUDE_NIMU_CODE to the compiler, but in which file do I do this and under what conditions? I don't wish to randomly search through all the NDK files in the hope of finding the one which needs it added.