Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
unix: change #if FIONBIO to #ifdef FIONBIO
Browse files Browse the repository at this point in the history
Fixes compilation on Debian/ppc 6.0.4.
  • Loading branch information
jedisct1 authored and bnoordhuis committed May 16, 2012
1 parent ad02404 commit 07622e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/core.c
Expand Up @@ -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;
Expand Down

0 comments on commit 07622e7

Please sign in to comment.