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
2013-01-06 13:52:47 -05:00
parent 24fdc23004
commit 090cafa067
+1 -1
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) {