hola yo estoy tratando de compilar una version de unison para android..... pero me marca un error ya que la NDK de android no implementa el pty.h
ya me descargue la libreria y cuando compilo me manda este error
--------------------------------------------------------------
ocamlopt: pty.c ---> pty.o
ocamlc -I lwt -I ubase -I system -I system/generic -I lwt/generic -custom -g -ccopt "-o "/home/unison-2.40.61/pty.o -c /home/unison-2.40.61/pty.c
In file included from /home/unison-2.40.61/pty.c:14:
/home/android-ndk-r7c/platforms/android-3/arch-arm/usr/include/pty.h: In function 'openpty':
/home/android-ndk-r7c/platforms/android-3/arch-arm/usr/include/pty.h:13: error: expected declaration specifiers before '__THROW'
/home/unison-2.40.61/pty.c:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/unison-2.40.61/pty.c:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/unison-2.40.61/pty.c:51: error: expected '{' at end of input
make: *** [pty.o] Error 2
--------------------------------------------------------------------------------------------------------
alguien me podria ayudar
GRACIAS