diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-05-17 06:05:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-05-17 06:06:29 +0400 |
commit | 92a380d0b280c5851a37d076dba463358461974d (patch) | |
tree | 02377cca116c3d8ca1d323005485c89325f5b88b /source/blender/python/mathutils/mathutils.c | |
parent | 4958aff780a3ef63c9372b6111655b49ffb4a0d3 (diff) |
Minor changes for standalone mathutils
Diffstat (limited to 'source/blender/python/mathutils/mathutils.c')
-rw-r--r-- | source/blender/python/mathutils/mathutils.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/python/mathutils/mathutils.c b/source/blender/python/mathutils/mathutils.c index 1ecb2c08bc1..349f8483fb0 100644 --- a/source/blender/python/mathutils/mathutils.c +++ b/source/blender/python/mathutils/mathutils.c @@ -477,8 +477,10 @@ static struct PyModuleDef M_Mathutils_module_def = { /* submodules only */ #include "mathutils_geometry.h" -#include "mathutils_kdtree.h" -#include "mathutils_noise.h" +#ifndef MATH_STANDALONE +# include "mathutils_kdtree.h" +# include "mathutils_noise.h" +#endif PyMODINIT_FUNC PyInit_mathutils(void) { |