Add ifndef __CELLOS_LV2__ compile-time conditionals for problematic

code - Alcaro should take a look at it tomorrow
This commit is contained in:
twinaphex 2015-01-23 08:15:17 +01:00
parent ce0edc7647
commit 9c2a5ba5e2

View File

@ -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))