]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/llvm/tools/lldb/include/lldb/lldb-python.h
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / llvm / tools / lldb / include / lldb / lldb-python.h
1 //===-- lldb-python.h --------------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef LLDB_lldb_python_h_
11 #define LLDB_lldb_python_h_
12
13 // Python.h needs to be included before any system headers in order to avoid redefinition of macros
14
15 #ifdef LLDB_DISABLE_PYTHON
16
17 // Python is disabled in this build
18
19 #else
20
21 #if defined (__APPLE__)
22 #include <Python/Python.h>
23 #else
24 #include <Python.h>
25 #endif
26
27 #endif // LLDB_DISABLE_PYTHON
28
29 #endif  // LLDB_lldb_python_h_