Use M's notion of the MAT_SIZE_T when building for M.

This commit is contained in:
Bård Skaflestad
2010-09-17 17:43:07 +00:00
parent fca8a08b29
commit f3e5ad1723

View File

@@ -3,6 +3,12 @@
#include <stddef.h>
#if defined(MATLAB_MEX_FILE) && MATLAB_MEX_FILE
#include <mex.h>
#undef MAT_SIZE_T
#define MAT_SIZE_T mwSignedIndex
#endif
#ifndef MAT_SIZE_T
#define MAT_SIZE_T int
#endif