termux-packages/packages/mpd/src-fs-io-FileOutputStream....

12 lines
468 B
Diff
Raw Normal View History

--- ../FileOutputStream.hxx.orig 2019-08-24 20:56:41.969642005 +0200
+++ ./src/fs/io/FileOutputStream.hxx 2019-08-12 21:47:53.854420002 +0200
@@ -45,7 +45,7 @@
2019-01-03 00:49:06 +01:00
#include <windows.h>
#endif
-#if defined(__linux__) && !defined(ANDROID)
+#if defined(__linux__) && !defined(__ANDROID__)
/* we don't use O_TMPFILE on Android because Android's braindead
SELinux policy disallows hardlinks
(https://android.googlesource.com/platform/external/sepolicy/+/85ce2c7),