[IRC-Dev CVS] SF.net SVN: irc-dev:[216] ircd/trunk/ircd/os_generic.c
Brought to you by:
zolty
From: <zo...@us...> - 2008-10-18 11:55:12
|
Revision: 216 http://irc-dev.svn.sourceforge.net/irc-dev/?rev=216&view=rev Author: zolty Date: 2008-10-18 11:54:45 +0000 (Sat, 18 Oct 2008) Log Message: ----------- Ahora si, no es DARWIN sino __APPLE__. Gracias a Redstrips por su paciencia haciendo las pruebas. Modified Paths: -------------- ircd/trunk/ircd/os_generic.c Modified: ircd/trunk/ircd/os_generic.c =================================================================== --- ircd/trunk/ircd/os_generic.c 2008-10-18 10:01:22 UTC (rev 215) +++ ircd/trunk/ircd/os_generic.c 2008-10-18 11:54:45 UTC (rev 216) @@ -39,6 +39,9 @@ * they give you everything. */ #else +# ifdef __APPLE__ +# include <libc.h> +# endif #define _XOPEN_SOURCE 600 #endif @@ -90,10 +93,6 @@ #define getrusage(a,b) syscall(SYS_GETRUSAGE, a, b) #endif -#ifdef DARWIN -#include <libc.h" -#endif - static int is_blocked(int error) { return EWOULDBLOCK == error This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |