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 | |
parent | 4958aff780a3ef63c9372b6111655b49ffb4a0d3 (diff) |
Minor changes for standalone mathutils
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/mathutils/mathutils.c | 6 | ||||
-rw-r--r-- | source/blender/python/mathutils/mathutils_Matrix.c | 2 |
2 files changed, 5 insertions, 3 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) { diff --git a/source/blender/python/mathutils/mathutils_Matrix.c b/source/blender/python/mathutils/mathutils_Matrix.c index 6129bb869f5..34564007478 100644 --- a/source/blender/python/mathutils/mathutils_Matrix.c +++ b/source/blender/python/mathutils/mathutils_Matrix.c @@ -31,9 +31,9 @@ #include "BLI_math.h" #include "BLI_utildefines.h" -#include "BLI_string.h" #ifndef MATH_STANDALONE +# include "BLI_string.h" # include "BLI_dynstr.h" #endif |