From d29eeefcda2cc7a7629bdfc2ef09c2db19081190 Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Wed, 2 Jan 2013 19:21:08 +0100 Subject: [PATCH] fix missing mpi.h include for h5readatt_octave.cc Signed-off-by: Thorsten Liebig --- matlab/setup.m | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/matlab/setup.m b/matlab/setup.m index 4ddff40..edc24b4 100644 --- a/matlab/setup.m +++ b/matlab/setup.m @@ -17,7 +17,11 @@ cd(dir); if isOctave() disp('compiling oct files') fflush(stdout) - mkoctfile -lhdf5 -DH5_USE_16_API h5readatt_octave.cc + if isunix + mkoctfile -lhdf5 -DH5_USE_16_API h5readatt_octave.cc + else + mkoctfile -lhdf5 -DH5_USE_16_API h5readatt_octave.cc + end else disp('Matlab does not need this function. It is Octave only.') end