systemclock: Placate gcc by defining EWOULDBLOCK to something
authorРуслан Ижбулатов <lrn1986@gmail.com>
Wed, 25 May 2011 09:40:30 +0000 (13:40 +0400)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 14 Jun 2011 13:34:25 +0000 (14:34 +0100)
gst/gstsystemclock.c

index 10ad4ed..c197d83 100644 (file)
@@ -51,6 +51,7 @@
 #  define WIN32_LEAN_AND_MEAN   /* prevents from including too many things */
 #  include <windows.h>          /* QueryPerformance* stuff */
 #  undef WIN32_LEAN_AND_MEAN
+#  define EWOULDBLOCK EAGAIN    /* This is just to placate gcc */
 #endif /* G_OS_WIN32 */
 
 #define GET_ENTRY_STATUS(e)          (g_atomic_int_get(&GST_CLOCK_ENTRY_STATUS(e)))