windows: fix the MinGW build

This commit is contained in:
Bert Belder 2012-08-23 23:50:03 +02:00
parent e89cb907a2
commit d62b1ac382

View File

@ -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 :-(