adapt to newer valgrind goop

SVN revision: 34605
This commit is contained in:
Carsten Haitzler 2008-05-19 03:29:54 +00:00
parent 5887bde860
commit 0d42705593
1 changed files with 6 additions and 0 deletions

View File

@ -157,7 +157,13 @@ _evas_common_rgba_image_surface_alloc(Image_Entry *ie, int w, int h)
if (im->image.data == NULL) return -1;
#ifdef HAVE_VALGRIND
# ifdef VALGRIND_MAKE_READABLE
VALGRIND_MAKE_READABLE(im->image.data, siz);
# else
# ifdef VALGRIND_MAKE_MEM_DEFINED
VALGRIND_MAKE_MEM_DEFINED(im->image.data, siz);
# endif
# endif
#endif
return 0;