Commit 858b5583 authored by Bert Belder's avatar Bert Belder
Browse files

win: fix NODE_NET_SOCKET_READ/WRITE signature

The NODE_NET_SOCKET_READ and NODE_NET_SOCKET_WRITE macros are just
no-ops on Windows, but they used to be defined as taking four parameters
while being called with five arguments. Turn them into variadic macros
to squelch a compiler warning.

PR-URL: https://github.com/iojs/io.js/pull/261


Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
parent 09fe6fe1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment