diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2017-09-30 14:50:58 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2017-09-30 14:50:58 (GMT) |
commit | 744b6b282f087ce23310805dc24ce8f8b351fb61 (patch) | |
tree | ca497bd2a868409b61a849cd8945601497077640 /src/H5Cprivate.h | |
parent | faf723e6d546a280e3fe935626f0de18f1757377 (diff) | |
download | hdf5-744b6b282f087ce23310805dc24ce8f8b351fb61.zip hdf5-744b6b282f087ce23310805dc24ce8f8b351fb61.tar.gz hdf5-744b6b282f087ce23310805dc24ce8f8b351fb61.tar.bz2 |
Better segregate clean & dirty LRU lists so that they are only defined when
the H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS macro is defined.
Diffstat (limited to 'src/H5Cprivate.h')
-rw-r--r-- | src/H5Cprivate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Cprivate.h b/src/H5Cprivate.h index 5335f80..50732ca 100644 --- a/src/H5Cprivate.h +++ b/src/H5Cprivate.h @@ -1648,8 +1648,10 @@ typedef struct H5C_cache_entry_t { /* fields supporting replacement policies: */ struct H5C_cache_entry_t *next; struct H5C_cache_entry_t *prev; +#if H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS struct H5C_cache_entry_t *aux_next; struct H5C_cache_entry_t *aux_prev; +#endif /* H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS */ #ifdef H5_HAVE_PARALLEL struct H5C_cache_entry_t *coll_next; struct H5C_cache_entry_t *coll_prev; |