Changeset View
Changeset View
Standalone View
Standalone View
source/gameengine/Ketsji/KX_PythonInit.cpp
| Show All 34 Lines | |||||
| #ifdef _MSC_VER | #ifdef _MSC_VER | ||||
| # pragma warning (disable:4786) | # pragma warning (disable:4786) | ||||
| #endif | #endif | ||||
| #ifdef WITH_PYTHON | #ifdef WITH_PYTHON | ||||
| # ifdef _XOPEN_SOURCE | # ifdef _XOPEN_SOURCE | ||||
| # undef _XOPEN_SOURCE | # undef _XOPEN_SOURCE | ||||
| # endif | # endif | ||||
| # if defined(__sun) || defined(sun) | |||||
| # if defined(_XPG4) | |||||
| # undef _XPG4 | |||||
| # endif | |||||
| # endif | |||||
| # include <Python.h> | # include <Python.h> | ||||
| extern "C" { | extern "C" { | ||||
| # include "BLI_utildefines.h" | # include "BLI_utildefines.h" | ||||
| # include "python_utildefines.h" | # include "python_utildefines.h" | ||||
| # include "bpy_internal_import.h" /* from the blender python api, but we want to import text too! */ | # include "bpy_internal_import.h" /* from the blender python api, but we want to import text too! */ | ||||
| # include "py_capi_utils.h" | # include "py_capi_utils.h" | ||||
| # include "mathutils.h" // 'mathutils' module copied here so the blenderlayer can use. | # include "mathutils.h" // 'mathutils' module copied here so the blenderlayer can use. | ||||
| ▲ Show 20 Lines • Show All 2,903 Lines • Show Last 20 Lines | |||||