Enlightenment CVS committal Author : doursse Project : e17 Module : proto/evil
Dir : e17/proto/evil/src/lib Modified Files: Evil.h Log Message: define PATH_MAX for cegcc compiler =================================================================== RCS file: /cvs/e/e17/proto/evil/src/lib/Evil.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- Evil.h 5 Mar 2008 11:22:46 -0000 1.5 +++ Evil.h 22 Mar 2008 08:35:43 -0000 1.6 @@ -60,6 +60,11 @@ #include <sys/time.h> #include <limits.h> +#ifdef __CEGCC__ +# include <sys/syslimits.h> /* for PATH_MAX */ +#endif + + #ifndef __CEGCC__ # include <sys/types.h> @@ -273,6 +278,7 @@ #endif /* ! __CEGCC__ */ + #if defined(__MSDOS__) || defined(__EMX__) || \ (defined(_WIN32) && !defined(_UWIN) && !defined(__CYGWIN__) && !defined(__CEGCC__)) # if defined(_MSC_VER) || defined(__MINGW32__) @@ -291,6 +297,7 @@ # endif #endif + #if ! ( defined(__CEGCC__) || defined(__MINGW32CE__) ) /** * @brief Return an absolute or full path name for a specified relative path name. @@ -317,8 +324,10 @@ * @ingroup Evil */ EAPI char *realpath(const char *file_name, char *resolved_name); + #endif /* ! __CEGCC__ && ! __MINGW32CE__ */ + /** * @brief Initiates the use of Windows sockets. * @@ -377,10 +386,5 @@ #ifdef __cplusplus } #endif - -#ifdef _WIN32 -# undef EAPI -# define EAPI -#endif /* _WIN32 */ #endif /* __EVIL_H__ */ ------------------------------------------------------------------------- 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