Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : libs/imlib2

Dir     : e17/libs/imlib2/src/lib


Modified Files:
        image.c 


Log Message:
Check for .dll extension on cygwin

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/imlib2/src/lib/image.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- image.c     16 Jan 2005 18:23:46 -0000      1.2
+++ image.c     4 Sep 2005 20:22:19 -0000       1.3
@@ -663,7 +663,11 @@
         if (!list[i])
            continue;
         ext = strrchr(list[i], '.');
-        if ((ext) && (!strcasecmp(ext, ".so")))
+        if ((ext) && (
+#ifdef __CYGWIN__
+            (!strcasecmp(ext, ".dll")) ||
+#endif
+            (!strcasecmp(ext, ".so"))))
           {
              /* Don't add the same loader multiple times... */
              if (!__imlib_ItemInList(ret, size, list[i]))




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to