Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 948 B view raw
1From 94764369222a8e6c65420a6981d7f179a18a5417 Mon Sep 17 00:00:00 2001 2From: Will Dietz <w@wdtz.org> 3Date: Thu, 25 May 2017 15:03:42 -0500 4Subject: [PATCH] EditLine.h: libedit supports wide chars on NixOS 5 6--- 7 include/lldb/Host/Editline.h | 5 +---- 8 1 file changed, 1 insertion(+), 4 deletions(-) 9 10diff --git a/include/lldb/Host/Editline.h b/include/lldb/Host/Editline.h 11index faed373bc..b248cdee1 100644 12--- a/include/lldb/Host/Editline.h 13+++ b/include/lldb/Host/Editline.h 14@@ -43,12 +43,9 @@ 15 // will only be 16 // used in cases where this is true. This is a compile time dependecy, for now 17 // selected per target Platform 18-#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) 19+// (libedit on NixOS is always wide-char capable) 20 #define LLDB_EDITLINE_USE_WCHAR 1 21 #include <codecvt> 22-#else 23-#define LLDB_EDITLINE_USE_WCHAR 0 24-#endif 25 26 #include "lldb/Host/ConnectionFileDescriptor.h" 27 #include "lldb/lldb-private.h" 28-- 292.13.0 30