Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

unix: change #if FIONBIO to #ifdef FIONBIO

Fixes compilation on Debian/ppc 6.0.4.
  • Loading branch information...
jedisct1 authored and bnoordhuis committed May 16, 2012
1 parent ad02404 commit 07622e767d1d67f0eb3e07b0e00b63e8020d50fa
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/unix/core.c
@@ -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;

0 comments on commit 07622e7

Please sign in to comment.
You can’t perform that action at this time.