mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r27398] Fixed potential issue layouts with compilers that do not support designated
initializers. Tested: ummon
This commit is contained in:
parent
5065c139c7
commit
bd28a396d0
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user