Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore


Modified Files:
        ecore_path.c 


Log Message:
for Windows, use dll as extension of shared lib

===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore/ecore_path.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- ecore_path.c        30 Sep 2007 15:24:51 -0000      1.20
+++ ecore_path.c        30 Sep 2007 18:16:42 -0000      1.21
@@ -244,7 +244,11 @@
 
             ext = strrchr(d->d_name, '.');
 
+#ifndef _WIN32
             if (!ext || strncmp(ext, ".so", 3))
+#else
+            if (!ext || strncmp(ext, ".dll", 4))
+#endif /* _WIN32 */
               continue;
 
             snprintf(ppath, PATH_MAX, "%s/%s", path, d->d_name);
@@ -317,7 +321,11 @@
             if (*d->d_name == '.')
               continue;
 
+#ifndef _WIN32
             if (!ecore_str_has_suffix(d->d_name, ".so"))
+#else
+            if (!ecore_str_has_suffix(d->d_name, ".dll"))
+#endif /* _WIN32 */
               continue;
 
             snprintf(ppath, PATH_MAX, "%s/%s", path, d->d_name);



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to