diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2015-07-15 21:01:03 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2015-07-15 21:01:03 (GMT) |
commit | bd28a396d05511e53c44beb1bf65dcdca4545aa0 (patch) | |
tree | 4740d2213056c7a7e05b777cdd677625c7457a9c | |
parent | 5065c139c78c1ff9d8c21f98a46d969a31f254be (diff) | |
download | hdf5-bd28a396d05511e53c44beb1bf65dcdca4545aa0.zip hdf5-bd28a396d05511e53c44beb1bf65dcdca4545aa0.tar.gz hdf5-bd28a396d05511e53c44beb1bf65dcdca4545aa0.tar.bz2 |
[svn-r27398] Fixed potential issue layouts with compilers that do not support designated
initializers.
Tested: ummon
-rw-r--r-- | src/H5Pdcpl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5Pdcpl.c b/src/H5Pdcpl.c index a900eb0..39e8e77 100644 --- a/src/H5Pdcpl.c +++ b/src/H5Pdcpl.c @@ -1297,9 +1297,12 @@ H5P__init_def_layout(void) FUNC_ENTER_STATIC_NOERR /* Initialize the default layout info for non-contigous layouts */ + H5D_def_layout_compact_g.storage.type = H5D_COMPACT; H5D_def_layout_compact_g.storage.u.compact = def_store_compact; H5D_def_layout_chunk_g.u.chunk = def_layout_chunk; + H5D_def_layout_chunk_g.storage.type = H5D_CHUNKED; H5D_def_layout_chunk_g.storage.u.chunk = def_store_chunk; + H5D_def_layout_virtual_g.storage.type = H5D_VIRTUAL; H5D_def_layout_virtual_g.storage.u.virt = def_store_virtual; /* Note that we've initialized the default values */ |