Commit d8170e40 authored by michel's avatar michel
Browse files

updating build.m and gensylv for Linux

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1838 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 13af9eb1
......@@ -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"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment