BeOS only: we don't have SA_RESTART. #define to 0 and emit a warning. I don't plan...
authorFrançois Revol <revol@free.fr>
Fri, 23 Feb 2007 23:35:42 +0000 (23:35 +0000)
committerFrançois Revol <revol@free.fr>
Fri, 23 Feb 2007 23:35:42 +0000 (23:35 +0000)
Originally committed as revision 8103 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/os_support.h

index 9d7ab4c7bba8a9956140442771fafe25c545f6df..424d6dabd1150b24cfb976dbae3022afa2f820e0 100644 (file)
@@ -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)