diff options
author | Evan Lucas <evanlucas@me.com> | 2015-09-16 18:12:41 +0300 |
---|---|---|
committer | Evan Lucas <evanlucas@me.com> | 2015-09-17 23:25:14 +0300 |
commit | 870229e66529309dfea932c52d718ddc2d734966 (patch) | |
tree | fe8047c3f6d233cebcedb1da66800f9936dc1644 /src/fs_event_wrap.cc | |
parent | 1fa0cb83e323db6d077e0e9970f3776eb5805140 (diff) |
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 <thechargingvolcano@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'src/fs_event_wrap.cc')
-rw-r--r-- | src/fs_event_wrap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs_event_wrap.cc b/src/fs_event_wrap.cc index 0d0096cab73..7768f94459c 100644 --- a/src/fs_event_wrap.cc +++ b/src/fs_event_wrap.cc @@ -146,7 +146,7 @@ void FSEventWrap::OnEvent(uv_fs_event_t* handle, const char* filename, event_string = env->change_string(); } else { CHECK(0 && "bad fs events flag"); - abort(); + ABORT(); } Local<Value> argv[] = { |