[Lldb-commits] [lldb] r196259 - #include <Python.h>, not <Python/Python.h>. The latter results in

Jason Molenda jmolenda at apple.com
Tue Dec 3 01:01:57 PST 2013


Author: jmolenda
Date: Tue Dec  3 03:01:57 2013
New Revision: 196259

URL: http://llvm.org/viewvc/llvm-project?rev=196259&view=rev
Log:
#include <Python.h>, not <Python/Python.h>.  The latter results in
the build being broken for people using the public Mac OS X 10.9 SDK, 
which does not have the Python framework any longer.  The Xcode project
file already sets the -I and -L flags correctly so that <Python.h> and
-lpython will work correctly with the system's installed Python.

Modified:
    lldb/trunk/include/lldb/lldb-python.h

Modified: lldb/trunk/include/lldb/lldb-python.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/lldb-python.h?rev=196259&r1=196258&r2=196259&view=diff
==============================================================================
--- lldb/trunk/include/lldb/lldb-python.h (original)
+++ lldb/trunk/include/lldb/lldb-python.h Tue Dec  3 03:01:57 2013
@@ -18,11 +18,7 @@
 
 #else
 
-#ifdef __FreeBSD__
 #include <Python.h>
-#else
-#include <Python/Python.h>
-#endif
 
 #endif // LLDB_DISABLE_PYTHON
 





More information about the lldb-commits mailing list