Ticket #21295: changeset_r4143.diff
File changeset_r4143.diff, 2.2 KB (added by jhaitas@…, 15 years ago) |
---|
-
branches/std-2.1/src/H5Zbzip2.c
23 23 char *libver, *versionp, *datep, *sep; 24 24 25 #if H5_VERS_MAJOR == 1 && H5_VERS_MINOR < 7 25 /* The conditional below is somewhat messy, but it is necessary because 26 the THG team has decided to fix an API inconsistency in the definition 27 of the H5Z_class_t structure in version 1.8.3 */ 28 #if (H5_VERS_MAJOR == 1 && H5_VERS_MINOR < 7) || \ 29 (H5_USE_16_API && (H5_VERS_MAJOR > 1 || \ 30 (H5_VERS_MAJOR == 1 && (H5_VERS_MINOR > 8 || \ 31 (H5_VERS_MINOR == 8 && H5_VERS_RELEASE >= 3))))) 26 32 /* 1.6.x */ 27 33 H5Z_class_t filter_class = { … … 33 39 }; 34 40 #else 35 /* 1. 7.x*/41 /* 1.8.x where x < 3 */ 36 42 H5Z_class_t filter_class = { 37 43 H5Z_CLASS_T_VERS, /* H5Z_class_t version */ … … 43 49 (H5Z_func_t)(bzip2_deflate) /* filter_func */ 44 50 }; 45 #endif /* if H5_VERSION < "1.7" */51 #endif 46 52 47 53 /* Register the filter class for the bzip2 compressor. */ -
branches/std-2.1/src/H5Zlzo.c
43 43 #ifdef HAVE_LZO_LIB 44 44 45 #if H5_VERS_MAJOR == 1 && H5_VERS_MINOR < 7 45 /* The conditional below is somewhat messy, but it is necessary because 46 the THG team has decided to fix an API inconsistency in the definition 47 of the H5Z_class_t structure in version 1.8.3 */ 48 #if (H5_VERS_MAJOR == 1 && H5_VERS_MINOR < 7) || \ 49 (H5_USE_16_API && (H5_VERS_MAJOR > 1 || \ 50 (H5_VERS_MAJOR == 1 && (H5_VERS_MINOR > 8 || \ 51 (H5_VERS_MINOR == 8 && H5_VERS_RELEASE >= 3))))) 46 52 /* 1.6.x */ 47 53 H5Z_class_t filter_class = { … … 53 59 }; 54 60 #else 55 /* 1. 7.x*/61 /* 1.8.x where x < 3 */ 56 62 H5Z_class_t filter_class = { 57 63 H5Z_CLASS_T_VERS, /* H5Z_class_t version */ … … 63 69 (H5Z_func_t)(lzo_deflate) /* filter_func */ 64 70 }; 65 #endif /* if H5_VERSION < "1.7" */71 #endif 66 72 67 73 /* Init the LZO library */