summaryrefslogtreecommitdiff
path: root/libavformat/os_support.h
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2007-02-23 23:35:42 +0000
committerFrançois Revol <revol@free.fr>2007-02-23 23:35:42 +0000
commit13e4dba6903c6500a3fc0c7cf82c1af5b2dd8fe0 (patch)
tree96eb9da7305fb6cd59ac426bc2a2b73e956dce25 /libavformat/os_support.h
parent81a409c8b58fa77601ecf876f6d84fefd082d85b (diff)
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
Diffstat (limited to 'libavformat/os_support.h')
-rw-r--r--libavformat/os_support.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/os_support.h b/libavformat/os_support.h
index 9d7ab4c7bb..424d6dabd1 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)