projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
793caf7
)
evas: less warning.
author
Cedric BAIL
<cedric.bail@free.fr>
Mon, 12 Dec 2011 13:42:24 +0000
(13:42 +0000)
committer
Cedric BAIL
<cedric.bail@free.fr>
Mon, 12 Dec 2011 13:42:24 +0000
(13:42 +0000)
SVN revision: 66115
legacy/evas/src/lib/canvas/evas_object_image.c
patch
|
blob
|
history
diff --git
a/legacy/evas/src/lib/canvas/evas_object_image.c
b/legacy/evas/src/lib/canvas/evas_object_image.c
index
0ec93d3
..
537b05f
100644
(file)
--- a/
legacy/evas/src/lib/canvas/evas_object_image.c
+++ b/
legacy/evas/src/lib/canvas/evas_object_image.c
@@
-198,8
+198,9
@@
evas_object_image_filled_add(Evas *e)
static void
_cleanup_tmpf(Evas_Object *obj)
{
+#ifdef HAVE_SYS_MMAN_H
Evas_Object_Image *o;
-
+
o = (Evas_Object_Image *)(obj->object_data);
if (!o->tmpf) return;
#ifdef __linux__
@@
-210,6
+211,9
@@
_cleanup_tmpf(Evas_Object *obj)
eina_stringshare_del(o->tmpf);
o->tmpf_fd = -1;
o->tmpf = NULL;
+#else
+ (void) obj;
+#endif
}
static void