updating build.m and gensylv for Linux
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1838 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
13af9eb18f
commit
d8170e4054
|
@ -25,6 +25,7 @@ if strcmpi('GLNX86', computer) || strcmpi('GLNXA64', computer) ...
|
|||
if VERSION <= 7.4
|
||||
BLAS_PATH = LAPACK_PATH; % On <= 7.4, BLAS in included in LAPACK
|
||||
COMPILE_OPTIONS = [ COMPILE_OPTIONS ' -DNO_BLAS_H' ];
|
||||
COMPILE_OPTIONS = [ COMPILE_OPTIONS ' -DMWTYPES_NOT_DEFINED -DNO_BLAS_H' ];
|
||||
else
|
||||
BLAS_PATH = '-lmwblas';
|
||||
end
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
|
||||
#include "SylvParams.h"
|
||||
|
||||
#ifdef MWTYPES_NOT_DEFINED
|
||||
typedef int mwSize;
|
||||
#endif
|
||||
|
||||
void SylvParams::print(const char* prefix) const
|
||||
{
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
#include "mex.h"
|
||||
|
||||
#ifdef MWTYPES_NOT_DEFINED
|
||||
typedef unsigned int mwIndex;
|
||||
typedef unsigned int mwSize;
|
||||
typedef int mwSize;
|
||||
#endif
|
||||
|
||||
#include "GeneralSylvester.h"
|
||||
|
|
Loading…
Reference in New Issue