Skip to content
Browse files

[lldb] [Python] Build readline override module only on Linux

Restrict building the readline override to Linux only.  It both does not
build on *BSD systems, and is largely irrelevant since they default to
using libedit over readline anyway.  This restores the behavior
of the old readline override that also was built only on Linux.

Differential Revision:
  • Loading branch information
mgorny committed Nov 5, 2019
1 parent 39525a6 commit df3ae1eb296d5193232649b5f282dfc4f01ba61f
Showing with 1 addition and 1 deletion.
  1. +1 −1 lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
@@ -9,7 +9,7 @@

#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.

0 comments on commit df3ae1e

Please sign in to comment.
You can’t perform that action at this time.