win,build: fix compilation on old Windows / MSVC

Observed on Windows XP with Visual Studio 2008.

PR-URL: https://github.com/libuv/libuv/pull/880
Reviewed-By: Alexis Campailla <orangemocha@nodejs.org>
This commit is contained in:
Saúl Ibarra Corretgé 2016-05-19 00:26:12 +02:00
parent c5622a1c4f
commit 36a024de05

View File

@ -40,6 +40,9 @@
#include "stream-inl.h"
#include "req-inl.h"
#ifndef InterlockedOr
# define InterlockedOr _InterlockedOr
#endif
#define UNICODE_REPLACEMENT_CHARACTER (0xfffd)