Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : proto/evil

Dir     : e17/proto/evil/src/lib


Modified Files:
        Evil.h evil.c 


Log Message:
* src/lib/Evil.h:
* src/lib/evil.c:
cegcc or mingwce32 does not like relative path,
so _fullpath or other similar function do not exist
on Winodws mobile.
* src/lib/mman/mman.c:
missing #

===================================================================
RCS file: /cvs/e/e17/proto/evil/src/lib/Evil.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- Evil.h      5 Mar 2008 09:19:38 -0000       1.4
+++ Evil.h      5 Mar 2008 11:22:46 -0000       1.5
@@ -291,8 +291,9 @@
 # endif
 #endif
 
+#if ! ( defined(__CEGCC__) || defined(__MINGW32CE__) )
 /**
- * @brief Return aan absolute or full path name for a specified relative path 
name.
+ * @brief Return an absolute or full path name for a specified relative path 
name.
  *
  * @param file_name The absolute path name.
  * @param resolved_name The relative path name.
@@ -316,6 +317,7 @@
  * @ingroup Evil
  */
 EAPI char *realpath(const char *file_name, char *resolved_name);
+#endif /* ! __CEGCC__  && ! __MINGW32CE__ */
 
 /**
  * @brief Initiates the use of Windows sockets.
===================================================================
RCS file: /cvs/e/e17/proto/evil/src/lib/evil.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- evil.c      5 Mar 2008 09:19:38 -0000       1.3
+++ evil.c      5 Mar 2008 11:22:46 -0000       1.4
@@ -1,9 +1,9 @@
-#include <stdio.h>
-
 #define WIN32_LEAN_AND_MEAN
 #include <winsock2.h>
 #undef WIN32_LEAN_AND_MEAN
 
+#include <stdio.h>
+
 #ifndef __CEGCC__
 # include <errno.h>
 # include <sys/locking.h>
@@ -345,11 +345,13 @@
 
 #endif /* ! __CEGCC__ */
 
+#if ! ( defined(__CEGCC__) || defined(__MINGW32CE__) )
 char *
 realpath(const char *file_name, char *resolved_name)
 {
   return _fullpath(resolved_name, file_name, PATH_MAX);
 }
+#endif /* ! __CEGCC__  && ! __MINGW32CE__ */
 
 int
 evil_sockets_init(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