Skip to content

Commit e974e4f

Browse files
committed
Fix macOS build
1 parent cfa46d8 commit e974e4f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

source/stream-server.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,9 +541,8 @@ NetsResult createStreamServer(SocketFamily socketFamily, const char* service, si
541541
streamServerInstance->datagramAddress = NULL;
542542
}
543543

544-
#if __linux__
545544
int streamHandle = (int)(size_t)getSocketHandle(streamSocket);
546-
545+
#if __linux__
547546
int wakeupEvent = eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK);
548547
if (wakeupEvent == -1)
549548
{

0 commit comments

Comments
 (0)