Fix android/ios compilation (#1103)
This commit is contained in:
parent
343809a36c
commit
e9c3b779b9
|
@ -45,6 +45,9 @@ bool StatusServiceSignalEvent(const char *jsonEvent) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SetEventCallback(void *cb) {
|
||||||
|
}
|
||||||
|
|
||||||
#elif defined(ANDROID_DEPLOYMENT)
|
#elif defined(ANDROID_DEPLOYMENT)
|
||||||
// ======================================================================================
|
// ======================================================================================
|
||||||
// Android archive compilation using xgo
|
// Android archive compilation using xgo
|
||||||
|
@ -196,6 +199,9 @@ bool StatusServiceSignalEvent(const char *jsonEvent) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SetEventCallback(void *cb) {
|
||||||
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
// ======================================================================================
|
// ======================================================================================
|
||||||
// cgo compilation (for desktop platforms and local tests)
|
// cgo compilation (for desktop platforms and local tests)
|
||||||
|
|
Loading…
Reference in New Issue