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 fa214b1264
commit e61ce75f18

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