From 3cc8751d59ce63debd169e6a4ba1a3002724b4d5 Mon Sep 17 00:00:00 2001 From: Caroline Tice Date: Thu, 28 Oct 2010 21:51:20 +0000 Subject: Remove references to particular Python version (use the system default version); change include statements to use Python.h in the Python framework on Mac OS X systems; leave it using regular Python.h on other systems. Note: I think this *ought* to work properly on Linux systems, but I don't have a system to test it on... llvm-svn: 117612 --- lldb/source/Interpreter/ScriptInterpreterPython.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lldb/source/Interpreter/ScriptInterpreterPython.cpp') diff --git a/lldb/source/Interpreter/ScriptInterpreterPython.cpp b/lldb/source/Interpreter/ScriptInterpreterPython.cpp index 906cb742350..ef472c385a0 100644 --- a/lldb/source/Interpreter/ScriptInterpreterPython.cpp +++ b/lldb/source/Interpreter/ScriptInterpreterPython.cpp @@ -10,7 +10,11 @@ // In order to guarantee correct working with Python, Python.h *MUST* be // the *FIRST* header file included: +#if defined (__APPLE__) +#include +#else #include +#endif #include "lldb/Interpreter/ScriptInterpreterPython.h" -- cgit v1.2.3