# HG changeset patch # User diego # Date 1276188674 0 # Node ID 6780dc315f36fa9a7444bf5334ddb4619db068a9 # Parent f221641c262afc192f3c432edab86cdc020216ef Remove support for pre-Haiku, non-POSIX, non-C99 BeOS variants. BeOS support has been broken for many years and the "maintainer" of the port has not reacted to countless requests to get the port fixed. approved by Mans diff -r f221641c262a -r 6780dc315f36 os_support.h --- a/os_support.h Wed Jun 09 09:19:36 2010 +0000 +++ b/os_support.h Thu Jun 10 16:51:14 2010 +0000 @@ -45,23 +45,6 @@ return 0; } -#ifdef __BEOS__ -# include -# include - /* not net_server ? */ -# include - /* R5 didn't have usleep, fake it. Haiku and Zeta has it now. */ -# if B_BEOS_VERSION <= B_BEOS_VERSION_5 -# include - /* doesn't set errno but that's enough */ -# define usleep(t) snooze((bigtime_t)(t)) -# endif -# ifndef SA_RESTART -# warning SA_RESTART not implemented; ffserver might misbehave. -# define SA_RESTART 0 -# endif -#endif - #if CONFIG_NETWORK #if !HAVE_SOCKLEN_T typedef int socklen_t;