From 870229e66529309dfea932c52d718ddc2d734966 Mon Sep 17 00:00:00 2001 From: Evan Lucas Date: Wed, 16 Sep 2015 10:12:41 -0500 Subject: src: Add ABORT macro Windows 8+ compiled in Release mode exits with code 0xC0000409 when abort() is called. This prevents us from being able to reliably verify an abort exit code (3) on windows. PR-URL: https://github.com/nodejs/node/pull/2776 Reviewed-By: Sakthipriyan Vairamani Reviewed-By: Colin Ihrig Reviewed-By: Brian White Reviewed-by: Trevor Norris --- src/tty_wrap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tty_wrap.cc') diff --git a/src/tty_wrap.cc b/src/tty_wrap.cc index 76a2472f8a..a78d231145 100644 --- a/src/tty_wrap.cc +++ b/src/tty_wrap.cc @@ -72,7 +72,7 @@ void TTYWrap::GuessHandleType(const FunctionCallbackInfo& args) { case UV_NAMED_PIPE: type = "PIPE"; break; case UV_UNKNOWN_HANDLE: type = "UNKNOWN"; break; default: - abort(); + ABORT(); } args.GetReturnValue().Set(OneByteString(env->isolate(), type)); -- cgit v1.2.3