From e2722aec6bc17e0163b90df29e5323d6f14a4fb7 Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Thu, 20 Feb 2020 10:28:15 +0100 Subject: Fix ushort compiler errors in Windows ushort is not supported --- source/blender/python/mathutils/mathutils_Matrix.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/python/mathutils') 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) -- cgit v1.2.3