[Lldb-commits] [PATCH] D69846: [lldb] [Python] Build readline override module only on Linux

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 5 08:10:28 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rGdf3ae1eb296d: [lldb] [Python] Build readline override module only on Linux (authored by mgorny).
Herald added a project: LLDB.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69846/new/

https://reviews.llvm.org/D69846

Files:
  lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h


Index: lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
===================================================================
--- lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
+++ lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
@@ -9,7 +9,7 @@
 #ifndef LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_PYTHONREADLINE_H
 #define LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_PYTHONREADLINE_H
 
-#if !defined(LLDB_DISABLE_LIBEDIT) && !defined(__APPLE__)
+#if !defined(LLDB_DISABLE_LIBEDIT) && defined(__linux__)
 // NOTE: Since Python may define some pre-processor definitions which affect the
 // standard headers on some systems, you must include Python.h before any
 // standard headers are included.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69846.227884.patch
Type: text/x-patch
Size: 724 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191105/7b4d66b4/attachment.bin>


More information about the lldb-commits mailing list