diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2020-02-20 12:28:15 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2020-02-20 12:28:32 +0300 |
commit | e2722aec6bc17e0163b90df29e5323d6f14a4fb7 (patch) | |
tree | af7138ab7472bf760427c624a6c9a65c602e137e /source/blender/python/mathutils/mathutils_Matrix.h | |
parent | 0e48bb26afd36af536f3eda8a9cb2f86862dc020 (diff) |
Fix ushort compiler errors in Windows
ushort is not supported
Diffstat (limited to 'source/blender/python/mathutils/mathutils_Matrix.h')
-rw-r--r-- | source/blender/python/mathutils/mathutils_Matrix.h | 2 |
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) |