syncbase cgo: Fix the compilation warnings on Android

The jni.h is slightly different on Android than a local machine. More
specific, in Android the AttachCurrentThread and AttachCurrentThreadAsDaemon
take as a second argument a JNIEnv** while on the local machine is
void**. This change places those two functions in .c files that use Go
build tags to restrict the compilation to the appropriate
environments.

Change-Id: I6879444837c1e9582923859cdb1d4dc403c16de4
3 files changed
tree: 817e87c796d2cf7289a38bcf8e619b9f73110f98
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTING.md
  11. CONTRIBUTORS
  12. envvar.go
  13. envvar_test.go
  14. LICENSE
  15. PATENTS
  16. README.md
  17. VERSION
README.md

Vanadium

This repository contains a reference implementation of the Vanadium APIs.

Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.