build-sys: use VALGRIND not __OPTIMIZE__ as condition for valgrind compat

Actually, one might want to run valgrind even on optimized code.
Now the same check is used in the jenkins hash functions and
hashtable.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2012-12-06 13:23:16 +01:00
parent 24fdc23004
commit 090cafa067

View file

@ -103,7 +103,7 @@ static void deallocate_tile(void **first_tile, void *p) {
*first_tile = p;
}
#ifndef __OPTIMIZE__
#ifdef VALGRIND
static void drop_pool(struct pool *p) {
while (p) {