termux-packages/packages/mpd/src-io-FileOutputStream.hxx.patch

12 lines
465 B
Diff
Raw Normal View History

--- ../FileOutputStream.hxx.orig 2019-08-24 20:56:41.969642005 +0200
+++ ./src/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),