[Lldb-commits] [PATCH] D14037: Reuse native curses(8) library on NetBSD
Kamil Rytarowski via lldb-commits
lldb-commits at lists.llvm.org
Thu Nov 5 16:14:47 PST 2015
krytarowski updated this revision to Diff 39440.
krytarowski added a comment.
Rebase to master
Repository:
rL LLVM
http://reviews.llvm.org/D14037
Files:
source/Core/IOHandler.cpp
Index: source/Core/IOHandler.cpp
===================================================================
--- source/Core/IOHandler.cpp
+++ 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";
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14037.39440.patch
Type: text/x-patch
Size: 722 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151106/610555db/attachment.bin>
More information about the lldb-commits
mailing list