Fix compilation problems with GCC 4.6
parent
ff6ae323a6
commit
fee32bdf25
|
@ -32,9 +32,9 @@
|
|||
/* Starting from version 7.8, MATLAB BLAS expects ptrdiff_t arguments for integers */
|
||||
#if defined(MATLAB_MEX_FILE) && MATLAB_VERSION >= 0x0708
|
||||
# ifdef __cplusplus
|
||||
# include <cstdlib>
|
||||
# include <cstddef>
|
||||
# else
|
||||
# include <stdlib.h>
|
||||
# include <stddef.h>
|
||||
# endif
|
||||
typedef ptrdiff_t blas_int;
|
||||
#else
|
||||
|
|
|
@ -32,9 +32,9 @@
|
|||
/* Starting from version 7.8, MATLAB LAPACK expects ptrdiff_t arguments for integers */
|
||||
#if defined(MATLAB_MEX_FILE) && MATLAB_VERSION >= 0x0708
|
||||
# ifdef __cplusplus
|
||||
# include <cstdlib>
|
||||
# include <cstddef>
|
||||
# else
|
||||
# include <stdlib.h>
|
||||
# include <stddef.h>
|
||||
# endif
|
||||
typedef ptrdiff_t lapack_int;
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue