changeset 4659:35e5c80ccb9c

[project @ 2003-11-25 04:25:37 by jwe]
author jwe
date Tue, 25 Nov 2003 04:25:37 +0000
parents c7ee06a9fbc3
children 5df5c9c5c166
files src/ChangeLog src/load-save.cc
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Nov 25 03:59:24 2003 +0000
+++ b/src/ChangeLog	Tue Nov 25 04:25:37 2003 +0000
@@ -3,6 +3,9 @@
 	* version.h (OCTAVE_VERSION): Now 2.1.52.
 	(OCTAVE_API_VERSION): Now api-v3.
 
+	* load-save.cc: Only include ls-hdf5.h if HAVE_HDF5 is defined.
+	From Melqart <melqart@free.fr>.
+
 	* pr-output.h (octave_fcn_handle::print_as_scalar): Delete.
 
 	* pr-output.cc (octave_print_internal): New version for
--- a/src/load-save.cc	Tue Nov 25 03:59:24 2003 +0000
+++ b/src/load-save.cc	Tue Nov 25 04:25:37 2003 +0000
@@ -72,7 +72,9 @@
 #include "version.h"
 #include "dMatrix.h"
 
+#ifdef HAVE_HDF5
 #include "ls-hdf5.h"
+#endif
 #include "ls-mat-ascii.h"
 #include "ls-mat4.h"
 #include "ls-mat5.h"