void-packages/srcpkgs/llvm/files/patches/lldb/editline_wchar.patch
Leah Neukirchen 25b0fabfa1 lldb: force LLDB_EDITLINE_USE_WCHAR.
Explicitly not revbumped to avoid rebuild.

Fixes #6073.
2017-05-08 14:55:30 +02:00

11 lines
456 B
Diff

--- lldb/include/lldb/Host/Editline.h.orig
+++ lldb/include/lldb/Host/Editline.h
@@ -43,7 +43,7 @@
// will only be
// used in cases where this is true. This is a compile time dependecy, for now
// selected per target Platform
-#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__)
#define LLDB_EDITLINE_USE_WCHAR 1
#include <codecvt>
#else