[runtime] Use HOST_ defines instead of PLATFORM_ defines. (#5362)
[mono.git] / mono / metadata / w32socket-unix.c
index bc1b5ccd818d44f09bfa459f94156f2aaaae2b22..74e1fcceab52e3ea2d17a1eb0bdee60f2d4c98fc 100644 (file)
@@ -1373,7 +1373,7 @@ mono_w32socket_get_available (SOCKET sock, guint64 *amount)
                return SOCKET_ERROR;
        }
 
-#if defined (PLATFORM_MACOSX)
+#if defined (HOST_DARWIN)
        // ioctl (socket, FIONREAD, XXX) returns the size of
        // the UDP header as well on Darwin.
        //