This revision was automatically updated to reflect the committed changes. Closed by commit rL252250: Reuse native curses(8) library on NetBSD (authored by brucem).
Changed prior to commit: http://reviews.llvm.org/D14037?vs=39440&id=39444#toc Repository: rL LLVM http://reviews.llvm.org/D14037 Files: lldb/trunk/source/Core/IOHandler.cpp Index: lldb/trunk/source/Core/IOHandler.cpp =================================================================== --- lldb/trunk/source/Core/IOHandler.cpp +++ lldb/trunk/source/Core/IOHandler.cpp @@ -9,7 +9,7 @@ // C Includes #ifndef LLDB_DISABLE_CURSES -#include <ncurses.h> +#include <curses.h> #include <panel.h> #endif @@ -4107,7 +4107,9 @@ case KEY_UNDO: return "undo key"; case KEY_MOUSE: return "Mouse event has occurred"; case KEY_RESIZE: return "Terminal resize event"; +#ifdef KEY_EVENT case KEY_EVENT: return "We were interrupted by an event"; +#endif case KEY_RETURN: return "return"; case ' ': return "space"; case '\t': return "tab";
Index: lldb/trunk/source/Core/IOHandler.cpp =================================================================== --- lldb/trunk/source/Core/IOHandler.cpp +++ lldb/trunk/source/Core/IOHandler.cpp @@ -9,7 +9,7 @@ // C Includes #ifndef LLDB_DISABLE_CURSES -#include <ncurses.h> +#include <curses.h> #include <panel.h> #endif @@ -4107,7 +4107,9 @@ case KEY_UNDO: return "undo key"; case KEY_MOUSE: return "Mouse event has occurred"; case KEY_RESIZE: return "Terminal resize event"; +#ifdef KEY_EVENT case KEY_EVENT: return "We were interrupted by an event"; +#endif case KEY_RETURN: return "return"; case ' ': return "space"; case '\t': return "tab";
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits