[Lldb-commits] [PATCH] D14037: Reuse native curses(8) library on NetBSD

Bruce Mitchener via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 5 16:23:42 PST 2015


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";


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14037.39444.patch
Type: text/x-patch
Size: 755 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151106/25ed43cd/attachment.bin>


More information about the lldb-commits mailing list