|
|
https://groups.google.com/forum/?fromgroups#!topic/android-ndk/UT1boSyJgdA
If you linked C library in C++ code, use extern "C" { } to surround the #include directives. i.e.extern "C" { #include "a.h" //a.h is the head file for the C library} |
|