Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2020-02-20 12:28:15 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-02-20 12:28:32 +0300
commite2722aec6bc17e0163b90df29e5323d6f14a4fb7 (patch)
treeaf7138ab7472bf760427c624a6c9a65c602e137e /source/blender/python
parent0e48bb26afd36af536f3eda8a9cb2f86862dc020 (diff)
Fix ushort compiler errors in Windows
ushort is not supported
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/mathutils/mathutils_Matrix.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/mathutils/mathutils_Matrix.h b/source/blender/python/mathutils/mathutils_Matrix.h
index 5eb5223edfe..a0e2256b1ce 100644
--- a/source/blender/python/mathutils/mathutils_Matrix.h
+++ b/source/blender/python/mathutils/mathutils_Matrix.h
@@ -24,6 +24,8 @@
extern PyTypeObject matrix_Type;
extern PyTypeObject matrix_access_Type;
+typedef unsigned short ushort;
+
#define MatrixObject_Check(v) PyObject_TypeCheck((v), &matrix_Type)
#define MatrixObject_CheckExact(v) (Py_TYPE(v) == &matrix_Type)