Fix android/ios compilation (#1103)

This commit is contained in:
Andrea Maria Piana 2018-07-19 14:37:21 +02:00 committed by Ivan Daniluk
parent 343809a36c
commit e9c3b779b9
1 changed files with 6 additions and 0 deletions

View File

@ -45,6 +45,9 @@ bool StatusServiceSignalEvent(const char *jsonEvent) {
return true;
}
void SetEventCallback(void *cb) {
}
#elif defined(ANDROID_DEPLOYMENT)
// ======================================================================================
// Android archive compilation using xgo
@ -196,6 +199,9 @@ bool StatusServiceSignalEvent(const char *jsonEvent) {
return true;
}
void SetEventCallback(void *cb) {
}
#else
// ======================================================================================
// cgo compilation (for desktop platforms and local tests)