updating build.m and gensylv for Linux

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1838 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
michel 2008-05-22 08:56:52 +00:00
parent 13af9eb18f
commit d8170e4054
3 changed files with 5 additions and 2 deletions

View File

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

View File

@ -4,6 +4,9 @@
#include "SylvParams.h"
#ifdef MWTYPES_NOT_DEFINED
typedef int mwSize;
#endif
void SylvParams::print(const char* prefix) const
{

View File

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