I get no compile errors, and I also don't see any library I can link
up too.
Is it really supported or it's off-limits for now? Any suggestions?
Thanks,
Andrei
#ifdef __cplusplus
extern "C" {
#endif
... all function declarations go here
#ifdef __cplusplus
};
#endif
This will be fixed in a future version of the NDK. In the meantime you
can work around it by modifying your copy of sys/epoll.h
--
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.
#include <sys/cdefs.h>
__BEGIN_DECLS
...
__END_DECLS
in the epoll.h similar to the other headers in the ndk package. Am I
missing something?
On Feb 9, 6:24 am, David Turner <di...@android.com> wrote:
> Another simpler solution is to embed the include as in:
>
> extern "C" {
> #include <sys/epoll.h>
>
> }
>
> in your C++ code.
>
> > android-ndk...@googlegroups.com<android-ndk%2Bunsubscribe@googlegr oups.com>