[Pkg-e-commits] [SCM] Enlightenment DR17 advanced canvas library branch, upstream-vcs, updated. ac02ff30b5a2960085b8e2a374ed135250be5ebc

raster raster at alioth.debian.org
Tue May 20 12:44:12 UTC 2008


The following commit has been merged in the upstream-vcs branch:
commit f3957512648ceb8d072463d2ebdb9a284c84e64a
Author: raster <raster>
Date:   Mon May 19 03:29:54 2008 +0000

    adapt to newer valgrind goop

diff --git a/src/lib/engines/common/evas_image_main.c b/src/lib/engines/common/evas_image_main.c
index 944d214..2108c1a 100644
--- a/src/lib/engines/common/evas_image_main.c
+++ b/src/lib/engines/common/evas_image_main.c
@@ -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;

-- 
Enlightenment DR17 advanced canvas library



More information about the Pkg-e-commits mailing list