Vladimir Kozlov wrote: > > Does anybody had success in compiling the tiny browser under NT? > The problem is that MSVC has not STDIN_FILENO variable. I've set the > following: Eric Prud'hommeaux wrote this for the line mode browser which registers the equivalent on windows if not in console mode. ConsoleEvent = HTEvent_new(scan_command, lm->console, HT_PRIORITY_MAX, lm->timer); #ifdef STDIN_FILENO if (isatty(STDIN_FILENO)) { HTEventList_register(STDIN_FILENO, HTEvent_READ, ConsoleEvent); } #else HTEventList_register(GetStdHandle(STD_INPUT_HANDLE), HTEvent_READ, ConsoleEvent); #endif I have tried to modify it to fit tiny.c and made this small patch - could I please get you try it out and see if it works? Thanks! Henrik
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:28 GMT