--- ../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 @@
 #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),
