- 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-bf33cf982152
time-shift
sebastien 2009-03-31 08:49:36 +00:00
parent adc5d60e23
commit 535274d3ad
2 changed files with 3 additions and 5 deletions

View File

@ -49,11 +49,9 @@ else
error('Unsupported platform')
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')
COMPILE_OPTIONS = [ COMPILE_OPTIONS ' -DMWTYPES_NOT_DEFINED' ];
elseif matlab_ver_less_than('7.8')
COMPILE_OPTIONS = [ COMPILE_OPTIONS ' -DMWSIGNEDINDEX_NOT_DEFINED' ];
end
% Large array dims for 64 bits platforms appeared in Matlab 7.3

View File

@ -20,8 +20,8 @@
#include <string.h>
#include "mex.h"
#ifdef MWSIGNEDINDEX_NOT_DEFINED
# define mwSignedIndex int
#ifdef MWTYPES_NOT_DEFINED
typedef int mwSignedIndex;
#endif
#ifdef NO_LAPACK_H