Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : proto/evil

Dir     : e17/proto/evil/src/lib/dlfcn


Modified Files:
        dlfcn.c 


Log Message:
Fix dlopen for cegcc and minor fix and doc:

* INSTALL:
* README:
additional notes for compilations with cegcc or mingw32ce

* configure.ac:
use 'win32' instead of 'cegcc' or 'mingw'

* src/lib/dlfcn/dlfcn.c (dlopen):
cegcc does not support LOAD_WITH_ALTERED_SEARCH_PATH.
Use LoadLibrary instead of LoadLibraryEx in that case.

===================================================================
RCS file: /cvs/e/e17/proto/evil/src/lib/dlfcn/dlfcn.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- dlfcn.c     5 Mar 2008 09:19:38 -0000       1.2
+++ dlfcn.c     13 Mar 2008 17:46:53 -0000      1.3
@@ -147,8 +147,7 @@
            wchar_t *wpath;
 
            wpath = string_to_wchar(new_path);
-           module = LoadLibraryEx(wpath, NULL,
-                                  LOAD_WITH_ALTERED_SEARCH_PATH);
+           module = LoadLibrary(wpath);
            free(wpath);
         }
 #else



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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