diff options
author | Ben Gamari <ben@smart-cactus.org> | 2017-03-15 09:33:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-15 09:33:21 -0400 |
commit | 47bcb4751c47e4026a7458f94e542d2c7dbbf92d (patch) | |
tree | f8f230b4c8f05407f55377903ce4d51505c19f8d | |
parent | a2cf40ea8043c262a5a53a1e7f401def195df3a8 (diff) | |
parent | d7aa9cd00bbff62f1873e242ffe3f816c2fdc5b5 (diff) |
Merge pull request #90 from zw3rk/feature/android
Define _POSIX_VDISABLE, if not defined.
-rw-r--r-- | System/Posix/Terminal/Common.hsc | 6 |
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 |