trunk:
- build_matlab.m: mwSignedIndex actually appeared in Matlab 7.3 (like mwSize and mwIndex) - mjdgges.c: use a typedef instead of a #define for mwSignedIndex git-svn-id: https://www.dynare.org/svn/dynare/trunk@2540 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
adc5d60e23
commit
535274d3ad
|
@ -49,11 +49,9 @@ else
|
||||||
error('Unsupported platform')
|
error('Unsupported platform')
|
||||||
end
|
end
|
||||||
|
|
||||||
% mwSize and mwIndex appeared in Matlab 7.3
|
% mwSize, mwIndex and mwSignedIndex appeared in Matlab 7.3
|
||||||
if matlab_ver_less_than('7.3')
|
if matlab_ver_less_than('7.3')
|
||||||
COMPILE_OPTIONS = [ COMPILE_OPTIONS ' -DMWTYPES_NOT_DEFINED' ];
|
COMPILE_OPTIONS = [ COMPILE_OPTIONS ' -DMWTYPES_NOT_DEFINED' ];
|
||||||
elseif matlab_ver_less_than('7.8')
|
|
||||||
COMPILE_OPTIONS = [ COMPILE_OPTIONS ' -DMWSIGNEDINDEX_NOT_DEFINED' ];
|
|
||||||
end
|
end
|
||||||
|
|
||||||
% Large array dims for 64 bits platforms appeared in Matlab 7.3
|
% Large array dims for 64 bits platforms appeared in Matlab 7.3
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "mex.h"
|
#include "mex.h"
|
||||||
|
|
||||||
#ifdef MWSIGNEDINDEX_NOT_DEFINED
|
#ifdef MWTYPES_NOT_DEFINED
|
||||||
# define mwSignedIndex int
|
typedef int mwSignedIndex;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef NO_LAPACK_H
|
#ifdef NO_LAPACK_H
|
||||||
|
|
Loading…
Reference in New Issue