diff src/ls-hdf5.h @ 5351:05adf9de7657

[project @ 2005-05-16 20:07:36 by dbateman]
author dbateman
date Mon, 16 May 2005 20:07:36 +0000
parents 4c8a2e4e0717
children 4ff0cb3e1dd1
line wrap: on
line diff
--- a/src/ls-hdf5.h
+++ b/src/ls-hdf5.h
@@ -173,6 +173,12 @@
 		const std::string& name, const std::string& doc,
 		bool mark_as_global, bool save_as_floats);
 
+#ifdef IDX_TYPE_LONG
+#define H5T_NATIVE_IDX H5T_NATIVE_LONG
+#else
+#define H5T_NATIVE_IDX H5T_NATIVE_INT
+#endif
+
 #endif
 
 #endif