diff --git a/runtime/src/main/cpp/launcher.cpp b/runtime/src/main/cpp/launcher.cpp index e84c2ef645e..024382779c7 100644 --- a/runtime/src/main/cpp/launcher.cpp +++ b/runtime/src/main/cpp/launcher.cpp @@ -1,9 +1,8 @@ #include "Memory.h" -extern "C" void kotlinNativeMain(); +extern "C" int kotlinNativeMain(); int main() { InitMemory(); - kotlinNativeMain(); - return 0; + return kotlinNativeMain(); }