Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Kumpera <kumpera@gmail.com>2018-02-05 22:05:33 +0300
committerMarek Safar <marek.safar@gmail.com>2018-02-06 17:05:48 +0300
commit386b4d2bc64ebe80eb5dbcd9cf06db324afe37c8 (patch)
tree264f39cc0309e8dc3d9ae3d23b36cb2cdb2e5cbc /support
parent9317773e68afe885682644d8b2b23cea416534b8 (diff)
[Mono.Posix] Fix the Android xattr check to not disable it on all other platforms.
Diffstat (limited to 'support')
-rw-r--r--support/sys-xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/sys-xattr.c b/support/sys-xattr.c
index f10f9671efa..4b7f55e086b 100644
--- a/support/sys-xattr.c
+++ b/support/sys-xattr.c
@@ -12,7 +12,7 @@
#include <config.h>
//If we're compiling to API level < 16 this won't be available
-#if __ANDROID_API__ < 16
+#if defined (HOST_ANDROID) && __ANDROID_API__ < 16
#define ANDROID_NO_XATTR
#endif