mirror of
https://github.com/termux/termux-packages.git
synced 2024-09-22 08:31:32 +00:00
ff72fa8ea3
Co-authored-by: Jia Yuan Lo <jylo06g@gmail.com>
17 lines
434 B
Diff
17 lines
434 B
Diff
diff --git a/far2l/src/setattr.cpp b/far2l/src/setattr.cpp
|
|
index 2ec23c1..c522454 100644
|
|
--- a/far2l/src/setattr.cpp
|
|
+++ b/far2l/src/setattr.cpp
|
|
@@ -60,6 +60,11 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
#include "execute.hpp"
|
|
#include "FSFileFlags.h"
|
|
|
|
+#if defined __ANDROID__ && __ANDROID_API__ < 26
|
|
+#define getpwent() (NULL)
|
|
+#define setpwent() ((void)0)
|
|
+#endif
|
|
+
|
|
enum SETATTRDLG
|
|
{
|
|
SA_DOUBLEBOX,
|