summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)