Use M's notion of the MAT_SIZE_T when building for M.
This commit is contained in:
parent
fa214b1264
commit
e61ce75f18
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user