From: serassio <> Date: Fri, 15 Sep 2006 02:13:23 +0000 (+0000) Subject: Fix make check on MinGW X-Git-Tag: SQUID_3_0_PRE5~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=322f8ea8d117e26e42bf125fbbe2b53fb0a0b272;p=thirdparty%2Fsquid.git Fix make check on MinGW --- diff --git a/src/tests/stub_comm.cc b/src/tests/stub_comm.cc index 87d743f416..018d453a75 100644 --- a/src/tests/stub_comm.cc +++ b/src/tests/stub_comm.cc @@ -1,5 +1,5 @@ /* - * $Id: stub_comm.cc,v 1.4 2006/09/03 19:34:15 serassio Exp $ + * $Id: stub_comm.cc,v 1.5 2006/09/14 20:13:23 serassio Exp $ * * DEBUG: section 84 Helper process maintenance * AUTHOR: Robert Collins @@ -131,3 +131,9 @@ comm_init(void) RESERVED_FD = XMIN(100, Squid_MaxFD / 4); } +/* MinGW needs also a stub of _comm_close() */ +void +_comm_close(int fd, char const *file, int line) +{ + fatal ("Not implemented"); +} diff --git a/src/tests/stub_tools.cc b/src/tests/stub_tools.cc index edcfc389f5..4ed74a8941 100644 --- a/src/tests/stub_tools.cc +++ b/src/tests/stub_tools.cc @@ -1,5 +1,5 @@ /* - * $Id: stub_tools.cc,v 1.2 2006/05/08 23:38:35 robertc Exp $ + * $Id: stub_tools.cc,v 1.3 2006/09/14 20:13:23 serassio Exp $ * * AUTHOR: Robert Collins * @@ -39,3 +39,9 @@ percent(int a, int b) return b ? ((int) (100.0 * a / b + 0.5)) : 0; } +/* MinGW needs also a stub of death() */ +void +death(int sig) +{ + fatal ("Not implemented"); +}