Minor changes for standalone mathutils

This commit is contained in:
2014-05-17 12:05:16 +10:00
parent 4958aff780
commit 92a380d0b2
2 changed files with 5 additions and 3 deletions

View File

@@ -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)
{