aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--System/Posix/Terminal/Common.hsc6
1 files changed, 6 insertions, 0 deletions
diff --git a/System/Posix/Terminal/Common.hsc b/System/Posix/Terminal/Common.hsc
index 573df16..2773158 100644
--- a/System/Posix/Terminal/Common.hsc
+++ b/System/Posix/Terminal/Common.hsc
@@ -15,6 +15,12 @@
--
-----------------------------------------------------------------------------
+-- see https://android.googlesource.com/platform/bionic/+/9ae59c0/libc/bionic/pathconf.c#37
+#if !defined(_POSIX_VDISABLE) && defined(__ANDROID__)
+#define _POSIX_VDISABLE -1
+#endif
+
+
module System.Posix.Terminal.Common (
-- * Terminal support