Use M's notion of the MAT_SIZE_T when building for M.
This commit is contained in:
1 parent
fa214b1264
commit
e61ce75f18
1 file changed
+6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user