8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 19:23:03 +01:00

Compatibility with Valgrind 3.3

This commit is contained in:
asfernandes 2008-04-27 18:53:33 +00:00
parent de2d6eb02e
commit b2abfa3d8b

View File

@ -42,7 +42,12 @@
#ifdef USE_VALGRIND
#include <valgrind/memcheck.h>
#ifndef VALGRIND_MAKE_WRITABLE // Valgrind 3.3
#define VALGRIND_MAKE_WRITABLE VALGRIND_MAKE_MEM_UNDEFINED
#define VALGRIND_MAKE_NOACCESS VALGRIND_MAKE_MEM_NOACCESS
#endif
#endif // USE_VALGRIND
// Fill blocks with patterns
#define FREE_PATTERN 0xDEADBEEF