From 3560e178977edc02f6e7837451d7c7cda546ff4a Mon Sep 17 00:00:00 2001 From: Georg Michel Date: Mon, 26 Sep 2016 13:33:29 +0000 Subject: [PATCH] removed -DH%_USE_16_API --- matlab/setup.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/matlab/setup.m b/matlab/setup.m index df56b25..9a400a2 100644 --- a/matlab/setup.m +++ b/matlab/setup.m @@ -22,12 +22,12 @@ if isOctave() if length(fn)>0 [hdf5lib_dir, hdf5lib_fn] = fileparts(fn); disp(["HDF5 library path found at: " hdf5lib_dir]) - mkoctfile(["-L" hdf5lib_dir ],"-lhdf5 -DH5_USE_16_API", "h5readatt_octave.cc") + mkoctfile(["-L" hdf5lib_dir ],"-lhdf5", "h5readatt_octave.cc") else - mkoctfile -lhdf5 -DH5_USE_16_API h5readatt_octave.cc + mkoctfile -lhdf5 h5readatt_octave.cc end else - mkoctfile -lhdf5 -DH5_USE_16_API h5readatt_octave.cc + mkoctfile -lhdf5 h5readatt_octave.cc end else disp('Matlab does not need this function. It is Octave only.')