From 36a024de052d57edb40684f0adbafde4b0ccbf92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Thu, 19 May 2016 00:26:12 +0200 Subject: [PATCH] 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 --- src/win/tty.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/win/tty.c b/src/win/tty.c index 9b963778..59a991c6 100644 --- a/src/win/tty.c +++ b/src/win/tty.c @@ -40,6 +40,9 @@ #include "stream-inl.h" #include "req-inl.h" +#ifndef InterlockedOr +# define InterlockedOr _InterlockedOr +#endif #define UNICODE_REPLACEMENT_CHARACTER (0xfffd)