diff --git a/net_http.c b/net_http.c index 3dde0d6fd8..c40b30d11c 100644 --- a/net_http.c +++ b/net_http.c @@ -141,7 +141,7 @@ static void net_http_send(int fd, bool * error, if (thislen <= 0) { -#if 0 +#ifndef __CELLOS_LV2__ /* FIXME - EWOULDBLOCK is not there on PS3, and this is kinda ugly code anyway. * Can we get rid of the ugly macro here and do something sensible here? */ if (!isagain(thislen)) @@ -176,7 +176,7 @@ static ssize_t net_http_recv(int fd, bool *error, return bytes; else if (bytes == 0) return -1; -#if 0 +#ifndef __CELLOS_LV2__ /* FIXME - EWOULDBLOCK is not there on PS3, and this is kinda ugly code anyway. * Can we get rid of the ugly macro here and do something sensible here? */ else if (isagain(bytes))