From 13e4dba6903c6500a3fc0c7cf82c1af5b2dd8fe0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= <revol@free.fr>
Date: Fri, 23 Feb 2007 23:35:42 +0000
Subject: [PATCH] BeOS only: we don't have SA_RESTART. #define to 0 and emit a
 warning. I don't plan on hosting a streaming tv anyway but it gets ffserver
 building.

Originally committed as revision 8103 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavformat/os_support.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavformat/os_support.h b/libavformat/os_support.h
index 9d7ab4c7bba..424d6dabd11 100644
--- a/libavformat/os_support.h
+++ b/libavformat/os_support.h
@@ -62,6 +62,10 @@ __declspec(dllimport) void __stdcall Sleep(unsigned long dwMilliseconds);
      /* 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 defined(CONFIG_OS2)
-- 
GitLab