summaryrefslogtreecommitdiffstats
path: root/conversion
diff options
context:
space:
mode:
authorPeter Baumann <baumann@floridita.(none)>2009-05-09 16:52:15 +0200
committerwww-data <www-data@ubuntu.localdomain>2010-06-09 11:34:34 +0200
commit3fb7f22ee45c78c349dd8f7c3e78be6d9c3cdee1 (patch)
tree857efd0131cbcc1f9816b06c225afb9e8eedc760 /conversion
parent9b11e8c40eb94efa6e46578a9d8f92f99ac3ce52 (diff)
downloadrasdaman-upstream-3fb7f22ee45c78c349dd8f7c3e78be6d9c3cdee1.zip
rasdaman-upstream-3fb7f22ee45c78c349dd8f7c3e78be6d9c3cdee1.tar.gz
rasdaman-upstream-3fb7f22ee45c78c349dd8f7c3e78be6d9c3cdee1.tar.xz
PB: make more resistant against different HDF packages/versions
Diffstat (limited to 'conversion')
-rw-r--r--conversion/hdf.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/conversion/hdf.cc b/conversion/hdf.cc
index 8784d42..3cf8bf7 100644
--- a/conversion/hdf.cc
+++ b/conversion/hdf.cc
@@ -72,7 +72,10 @@ rasdaman GmbH.
#include <stdio.h>
#include <iostream>
-
+// make this code robust against different HDF versions and trouble:
+#ifndef MAX_VAR_DIMS
+ #define MAX_VAR_DIMS 32
+#endif
const r_Convertor::convert_string_t r_Conv_HDF::compNames[] = {
{"none", COMP_CODE_NONE},