From 3e1d49f1ec3b5e02ffd9276b36e32ec3bf58ae23 Mon Sep 17 00:00:00 2001 From: Scott Wegner Date: Mon, 4 Jun 2007 10:51:39 -0500 Subject: [svn-r13830] Updating our locally-maintained H5pubconf.h for Windows to define the H5_CLEAR_MEMORY macro introduced in rev. 13815. Tested: VS2005 on WinXP --- windows/src/H5pubconf.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/windows/src/H5pubconf.h b/windows/src/H5pubconf.h index 0142fbd..47cd2cf 100755 --- a/windows/src/H5pubconf.h +++ b/windows/src/H5pubconf.h @@ -29,7 +29,6 @@ /*#if defined __INTEL_COMPILER #define H5_SIZEOF_LONG_DOUBLE 12 #else*/ - /*#endif*/ /*#define H5_HAVE_TM_ZONE 1 windows do not use this constant.*/ @@ -83,6 +82,10 @@ in the file file_io.win32.c and including it on the projects #define H5_HAVE_SYS_TYPES_H 1 #define H5_HAVE_WINSOCK_H 1 +/* comment the following line out if the memory buffers being written to + disk should not be cleared before writing. */ +#define H5_CLEAR_MEMORY 1 + /* comment the following line out if you are not using check sum filter*/ #define H5_HAVE_FILTER_FLETCHER32 1 @@ -167,3 +170,8 @@ visual studio 2005 to fix this problem. /* uncomment the following line if we want parallel HDF5 support */ /* #define H5_HAVE_PARALLEL */ + +/* uncomment the following line if you need the library to perform "strict" + memory operations, which is useful when debugging with a memory checking + tool like Purify, etc. */ +/* #define H5_USING_MEMCHECKER 1 */ \ No newline at end of file -- cgit v0.12