0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-09-22 08:31:32 +00:00
termux-packages/x11-packages/far2l/far2l-src-setattr.cpp.patch
spvkgn ff72fa8ea3
addpkg(x11/far2l): FAR Manager v2 (#17379)
Co-authored-by: Jia Yuan Lo <jylo06g@gmail.com>
2023-07-28 19:20:52 +08:00

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,