Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : proto/evil

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


Modified Files:
        mman.c 


Log Message:
fix compilation with cegcc and minor fixing

* COPYING:
copyright update

* configure.ac:
* src/lib/Evil.h:
* src/lib/dlfcn/dlfcn.h:
* src/lib/mman/sys/mman.h:
define EFL_EVIL_BUILD in config.h for managing correctly EAPI

* src/bin/test_pipe.c:
stdio.h is needed after winsock2.h for mingw32ce

* src/lib/dlfcn/dlfcn.c (get_last_error), (dlopen), (dlsym):
* src/lib/evil.c:
fix some heafer files inclusion on cegc platform.
first step of mingw32ce support

* src/lib/mman/mman.c:
define _get_osfhandle for mingw32ce


===================================================================
RCS file: /cvs/e/e17/proto/evil/src/lib/mman/mman.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- mman.c      27 Feb 2008 21:01:30 -0000      1.1
+++ mman.c      5 Mar 2008 09:19:38 -0000       1.2
@@ -20,10 +20,12 @@
 # define __UNUSED__
 #endif /* HAVE___ATTRIBUTE__ */
 
-#ifdef __CEGCC__
+#if defined(__CEGCC__)
 # define CreateFileMapping CreateFileMappingW
 # define _get_osfhandle get_osfhandle
-#endif /* __CEGCC__ */
+elif defined (__MINGW32CE__)
+# define _get_osfhandle(FILEDES) ((long)FILEDES)
+#endif /* ! __CEGCC__ && ! __MINGW32CE__ */
 
 
 void *



-------------------------------------------------------------------------
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