Enlightenment CVS committal
Author : doursse
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/lib/file
Modified Files:
evas_module.c
Log Message:
add the DirectDraw engine. Evas is now available on Windows (tm)
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/file/evas_module.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- evas_module.c 6 May 2007 11:29:37 -0000 1.24
+++ evas_module.c 27 May 2007 06:43:22 -0000 1.25
@@ -299,7 +299,11 @@
if (em->loaded) return 1;
// printf("LOAD %s\n", em->name);
+#ifdef WIN32
+ snprintf(buf, sizeof(buf), "%s/%s/%s/module.dll", em->path, em->name,
MODULE_ARCH);
+#else
snprintf(buf, sizeof(buf), "%s/%s/%s/module.so", em->path, em->name,
MODULE_ARCH);
+#endif
if (!evas_file_path_exists(buf))
{
printf("[evas module] error loading the module %s. It doesnt exists\n",
buf);
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs