Re-disable statx() on Android
Commitb7887f9b4f
removed this explicit disabling because it shouldn't be needed anymore. Turns out it was, as new Android SDK do include modern Linux headers and those define the structs and constants needed for statx(). Repeat of8eb3944dac
. Task-number: QTBUG-64490 Fixes: QTBUG-71200 Change-Id: If7e743cf8476463880ccfffd155e6d5c2b5a3da9 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
parent
2624676b57
commit
7f60940fbe
@ -97,6 +97,13 @@ extern "C" NSString *NSTemporaryDirectory();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(Q_OS_ANDROID)
|
||||
// statx() is disabled on Android because quite a few systems
|
||||
// come with sandboxes that kill applications that make system calls outside a
|
||||
// whitelist and several Android vendors can't be bothered to update the list.
|
||||
# undef STATX_BASIC_STATS
|
||||
#endif
|
||||
|
||||
#ifndef STATX_ALL
|
||||
struct statx { mode_t stx_mode; }; // dummy
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user