From c54b80f00c72cbfcd7bd9f99fce3ab2cea0ab976 Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Mon, 8 Nov 2010 22:20:59 -0800 Subject: [PATCH] wrap heim_array_filter() in __BLOCKS__ --- base/array.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base/array.c b/base/array.c index 3db4dc794..7b0d77b1c 100644 --- a/base/array.c +++ b/base/array.c @@ -209,6 +209,7 @@ heim_array_delete_value(heim_array_t array, size_t idx) heim_release(obj); } +#ifdef __BLOCKS__ /** * Get value at idx * @@ -229,3 +230,5 @@ heim_array_filter(heim_array_t array, bool (^block)(heim_object_t)) } } } + +#endif /* __BLOCKS__ */