Fix compilation problems with GCC 4.6

time-shift
Sébastien Villemot 2011-06-13 11:38:09 +02:00
parent ff6ae323a6
commit fee32bdf25
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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