build_matlab: fix for 64-bit Mac (thanks to Jacob Smith for reporting)

git-svn-id: https://www.dynare.org/svn/dynare/trunk@3371 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
sebastien 2010-01-22 09:14:09 +00:00
parent 29fc9354ef
commit 98de32dfcb
1 changed files with 2 additions and 1 deletions

View File

@ -60,7 +60,8 @@ matver = sscanf(verstruct.Version, '%d.%d.%d')';
COMPILE_OPTIONS = [ COMPILE_OPTIONS ' -DMATLAB_MEX_FILE -DMATLAB_VERSION=0x' sprintf('%02d%02d', matver(1), matver(2)) ];
% Large array dims for 64 bits platforms appeared in Matlab 7.3
if (strcmpi('GLNXA64', computer) || strcmpi('PCWIN64', computer)) ...
if (strcmpi('GLNXA64', computer) || strcmpi('PCWIN64', computer) ...
|| strcmpi('MACI64', computer)) ...
&& ~matlab_ver_less_than('7.3')
COMPILE_OPTIONS = [ COMPILE_OPTIONS ' -largeArrayDims' ];
end