On Mon, Feb 17, 2003 at 09:09:35AM -0800, Doug Kaufman wrote: > I just built lynx2.8.5dev.14 under Cygwin using the latest ncurses > (5.3.20030215). There is a naming conflict between Cygwin and ncurses > which wasn't present in ncurses 5.2. The 5.3 version of "curses.h" now > defines "KEY_EVENT", but "KEY_EVENT" is also defined in the cygwin > header "wincon.h" which is included by "windows.h", which in turn > is included by "HTUtils.h". Am I missing an easy fix, or would this > require a change of the name in either cygwin or ncurses to fix this? > The conflict only causes a warning during compilation.
checking a little more, a more complete answer is that I originally ifdef'd this symbol (since it is an extension), but removed the ifdef's to accommodate a mildy-broken tool of Debian's (a political fix). Most of the other KEY_xxx symbols are defined by X/Open curses, except for the KEY_RESIZE (can't really rename any of those). -- Thomas E. Dickey <[EMAIL PROTECTED]> http://invisible-island.net ftp://invisible-island.net ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]
