summaryrefslogtreecommitdiffstats
path: root/src/H5MMprivate.h
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2015-02-28 17:00:03 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2015-02-28 17:00:03 (GMT)
commitac290b5e45412a0a93fde620490d703c773d27d4 (patch)
tree5f092da8f14390a154ae169a7b1b82e526f665ee /src/H5MMprivate.h
parent7462a7ef1c3542b8812c8da86e79b15ce22d21cb (diff)
downloadhdf5-ac290b5e45412a0a93fde620490d703c773d27d4.zip
hdf5-ac290b5e45412a0a93fde620490d703c773d27d4.tar.gz
hdf5-ac290b5e45412a0a93fde620490d703c773d27d4.tar.bz2
[svn-r26331] Revert checking r 26327&8, which added new code and test that fails on solaris and macs.
Tested h5committest + emu and quail.
Diffstat (limited to 'src/H5MMprivate.h')
-rw-r--r--src/H5MMprivate.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5MMprivate.h b/src/H5MMprivate.h
index 0d608b2..a3c39f0 100644
--- a/src/H5MMprivate.h
+++ b/src/H5MMprivate.h
@@ -33,13 +33,19 @@
/* Private headers needed by this file */
#include "H5private.h"
+#ifdef NDEBUG
+#define H5MM_malloc(Z) HDmalloc(Z)
+#define H5MM_calloc(Z) HDcalloc((size_t)1,Z)
+#endif /* NDEBUG */
#define H5MM_free(Z) HDfree(Z)
/*
* Library prototypes...
*/
+#ifndef NDEBUG
H5_DLL void *H5MM_malloc(size_t size);
H5_DLL void *H5MM_calloc(size_t size);
+#endif /* NDEBUG */
H5_DLL void *H5MM_realloc(void *mem, size_t size);
H5_DLL char *H5MM_xstrdup(const char *s);
H5_DLL char *H5MM_strdup(const char *s);