summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-07-25 17:38:57 (GMT)
committerGitHub <noreply@github.com>2022-07-25 17:38:57 (GMT)
commitb0240030f5dd1c3da65fd66b76fcdfe13604489c (patch)
treea2a659b1e6759bfc6fc8301bca7ab6632504a0cf /src/H5private.h
parentdf1ce61f1b4884681c00b342a8651e4d48a91881 (diff)
downloadhdf5-b0240030f5dd1c3da65fd66b76fcdfe13604489c.zip
hdf5-b0240030f5dd1c3da65fd66b76fcdfe13604489c.tar.gz
hdf5-b0240030f5dd1c3da65fd66b76fcdfe13604489c.tar.bz2
Updates uthash and makes some tweaks (#1928)
* Updates uthash from 2.1.0 to 2.3.0 * Moves uthash include and related to H5private.h * Defines HASH_NONFATAL_OOM so that out-of-memory doesn't abort() * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 53ed809..e09cdbd 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -146,6 +146,7 @@
*/
#define uthash_malloc(sz) H5MM_malloc(sz)
#define uthash_free(ptr, sz) H5MM_free(ptr) /* Ignoring sz is intentional */
+#define HASH_NONFATAL_OOM 1 /* Don't abort() on out-of-memory */
#include "uthash.h"
/*