summaryrefslogtreecommitdiff
path: root/libavformat/os_support.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2010-06-10 16:51:14 +0000
committerDiego Biurrun <diego@biurrun.de>2010-06-10 16:51:14 +0000
commita1629e2848a6e2505788998a1aa7248b62c0be9e (patch)
tree826721080cd0fd4bf8668ff30287604ad7c5ea55 /libavformat/os_support.h
parentc1bdc9300b3c0b05d49a8a0e34a5249dfe1544f3 (diff)
downloadffmpeg-a1629e2848a6e2505788998a1aa7248b62c0be9e.tar.gz
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 Originally committed as revision 23562 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/os_support.h')
-rw-r--r--libavformat/os_support.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/libavformat/os_support.h b/libavformat/os_support.h
index a3cc40a850..5c9e81b340 100644
--- a/libavformat/os_support.h
+++ b/libavformat/os_support.h
@@ -45,23 +45,6 @@ static inline int is_dos_path(const char *path)
return 0;
}
-#ifdef __BEOS__
-# include <sys/socket.h>
-# include <netinet/in.h>
- /* not net_server ? */
-# include <BeBuild.h>
- /* R5 didn't have usleep, fake it. Haiku and Zeta has it now. */
-# if B_BEOS_VERSION <= B_BEOS_VERSION_5
-# include <OS.h>
- /* 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;