unix: change #if FIONBIO to #ifdef FIONBIO
Fixes compilation on Debian/ppc 6.0.4.
This commit is contained in:
parent
ad024040fc
commit
07622e767d
@ -480,7 +480,7 @@ int uv__accept(int sockfd, struct sockaddr* saddr, socklen_t slen) {
|
||||
|
||||
|
||||
int uv__nonblock(int fd, int set) {
|
||||
#if FIONBIO
|
||||
#ifdef FIONBIO
|
||||
return ioctl(fd, FIONBIO, &set);
|
||||
#else
|
||||
int flags;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user