diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/H5config.h.in | 9 | ||||
-rw-r--r-- | src/H5private.h | 7 |
2 files changed, 13 insertions, 3 deletions
diff --git a/src/H5config.h.in b/src/H5config.h.in index 46dd706..49c220d 100644 --- a/src/H5config.h.in +++ b/src/H5config.h.in @@ -18,6 +18,9 @@ /* Define to 1 if you have the <dlfcn.h> header file. */ #undef HAVE_DLFCN_H +/* Define to 1 if you have the <dmalloc.h> header file. */ +#undef HAVE_DMALLOC_H + /* Define to 1 if you have the <features.h> header file. */ #undef HAVE_FEATURES_H @@ -72,6 +75,9 @@ /* Define to 1 if you have the `crypto' library (-lcrypto). */ #undef HAVE_LIBCRYPTO +/* Define to 1 if you have the `dmalloc' library (-ldmalloc). */ +#undef HAVE_LIBDMALLOC + /* Define to 1 if you have the `elf' library (-lelf). */ #undef HAVE_LIBELF @@ -464,6 +470,3 @@ /* Define to `long' if <sys/types.h> does not define. */ #undef ssize_t - -/* Define if you have the <inttypes.h> header file. */ -#undef HAVE_INTTYPES_H diff --git a/src/H5private.h b/src/H5private.h index a7ad701..41b9a16 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -156,6 +156,13 @@ #endif /* + * dmalloc (debugging malloc) support + */ +#ifdef H5_HAVE_DMALLOC_H +#include "dmalloc.h" +#endif /* H5_HAVE_DMALLOC_H */ + +/* * NT doesn't define SIGBUS, but since NT only runs on processors * that do not have alignment constraints a SIGBUS would never be * raised, so we just replace it with SIGILL (which also should |