2022-01-22 07:52:21 +01:00
|
|
|
--- a/sdk/src/posix/fs.cpp
|
|
|
|
+++ b/sdk/src/posix/fs.cpp
|
|
|
|
@@ -30,7 +30,7 @@
|
|
|
|
#include "mega/osx/osxutils.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
-#ifdef __ANDROID__
|
2022-01-22 08:35:07 +01:00
|
|
|
+#if defined __ANDROID__ && !defined __TERMUX__
|
2022-01-22 07:52:21 +01:00
|
|
|
#include <jni.h>
|
|
|
|
extern JavaVM *MEGAjvm;
|
|
|
|
#endif
|
|
|
|
@@ -1530,7 +1530,7 @@
|
|
|
|
|
|
|
|
void PosixFileSystemAccess::statsid(string *id) const
|
|
|
|
{
|
|
|
|
-#ifdef __ANDROID__
|
2022-01-22 08:35:07 +01:00
|
|
|
+#if defined __ANDROID__ && !defined __TERMUX__
|
2022-01-22 07:52:21 +01:00
|
|
|
if (!MEGAjvm)
|
|
|
|
{
|
|
|
|
LOG_err << "No JVM found";
|