Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

windows: fix the MinGW build

  • Loading branch information...
commit d62b1ac3820d740559649b56e369cde57998f3da 1 parent e89cb90
@piscisaureus piscisaureus authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 include/uv-private/uv-win.h
View
6 include/uv-private/uv-win.h
@@ -67,6 +67,12 @@ typedef intptr_t ssize_t;
#define SIGKILL 9
#define SIGWINCH 28
+/* The CRT defines SIGABRT_COMPAT as 6, which equals SIGABRT on many */
+/* unix-like platforms. However MinGW doesn't define it, so we do. */
+#ifndef SIGABRT_COMPAT
+# define SIGABRT_COMPAT 6
+#endif
+
/*
* Guids and typedefs for winsock extension functions
* Mingw32 doesn't have these :-(
Please sign in to comment.
Something went wrong with that request. Please try again.