[PATCH] (haskeline) Include termios.h on android

Nathan Hüsken nathan.huesken at posteo.de
Sun Feb 17 17:01:45 CET 2013


On 02/17/2013 01:42 PM, Ian Lynagh wrote:
> Hi Nathan,
>
> On Fri, Jan 25, 2013 at 09:45:47AM +0100, Nathan Hüsken wrote:
>> This patch is for libraries/haskeline.
> Thanks for the patch, although note that haskeline is maintained by
>      Judah Jacobson <judah.jacobson at gmail.com>
> and has a trac here:
>      http://trac.haskell.org/haskeline
>
>> -#ifdef USE_TERMIOS_H
>> +#if defined(USE_TERMIOS_H) || defined(__ANDROID__)
> It looks like this would be better handled by defining USE_TERMIOS_H in
> the .cabal file if the os is android.
>
I agree, but I was unable to detect in tharget os in cabal when cross 
compiling.



More information about the ghc-devs mailing list