mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 23:23:04 +01:00
Compatibility with Valgrind 3.3
This commit is contained in:
parent
de2d6eb02e
commit
b2abfa3d8b
@ -42,7 +42,12 @@
|
|||||||
|
|
||||||
#ifdef USE_VALGRIND
|
#ifdef USE_VALGRIND
|
||||||
#include <valgrind/memcheck.h>
|
#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
|
||||||
|
#endif // USE_VALGRIND
|
||||||
|
|
||||||
// Fill blocks with patterns
|
// Fill blocks with patterns
|
||||||
#define FREE_PATTERN 0xDEADBEEF
|
#define FREE_PATTERN 0xDEADBEEF
|
||||||
|
Loading…
Reference in New Issue
Block a user