Skip to content

Commit 386b4d2

Browse files
kumperamarek-safar
authored andcommitted
[Mono.Posix] Fix the Android xattr check to not disable it on all other platforms.
1 parent 9317773 commit 386b4d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

support/sys-xattr.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <config.h>
1313

1414
//If we're compiling to API level < 16 this won't be available
15-
#if __ANDROID_API__ < 16
15+
#if defined (HOST_ANDROID) && __ANDROID_API__ < 16
1616
#define ANDROID_NO_XATTR
1717
#endif
1818

0 commit comments

Comments
 (0)