udpsrc: fix build on win32
authorTim-Philipp Müller <tim@centricular.net>
Thu, 5 Sep 2013 18:46:37 +0000 (19:46 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 5 Sep 2013 18:46:37 +0000 (19:46 +0100)
gstudpsrc.c:855:15: error: #if with no expression

gst/udp/gstudpsrc.c

index 8cb4b09..922e381 100644 (file)
@@ -852,7 +852,7 @@ gst_udpsrc_start (GstBaseSrc * bsrc)
      * on the same port but for different addresses than the multicast
      * address
      */
-#if G_OS_WIN32
+#ifdef G_OS_WIN32
     if (g_inet_address_get_is_multicast (addr))
       bind_addr = g_inet_address_new_any (g_inet_address_get_family (addr));
     else