Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : proto/evil

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


Modified Files:
        dlfcn.h 


Log Message:
* src/lib/Evil.h:
declare pid_t, ssize_t and mode_t for vc++ before flock
structure (vc++)
* src/lib/dlfcn/dlfcn.h:
include limits.h for vc++
* src/lib/evil.c: (symlink), (readlink):
use UNICODE instead of checking the OS. Use PATH_MAX instead
of MB_CUR_MAX when needed

===================================================================
RCS file: /cvs/e/e17/proto/evil/src/lib/dlfcn/dlfcn.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- dlfcn.h     29 Jun 2008 12:09:48 -0000      1.9
+++ dlfcn.h     13 Jul 2008 17:34:53 -0000      1.10
@@ -2,6 +2,12 @@
 #define __EVIL_DLFCN_H__
 
 
+#ifdef _MSC_VER
+# define _POSIX_
+# include <limits.h>
+# undef _POSIX_
+#endif /* _MSC_VER */
+
 #if defined(__CEGCC__) || defined(__MINGW32CE__)
 # include <sys/syslimits.h>
 #else



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to