]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix make check on MinGW
authorserassio <>
Fri, 15 Sep 2006 02:13:23 +0000 (02:13 +0000)
committerserassio <>
Fri, 15 Sep 2006 02:13:23 +0000 (02:13 +0000)
src/tests/stub_comm.cc
src/tests/stub_tools.cc

index 87d743f416a7f0ee3cd05c99459d34eef436a34d..018d453a75f06dffd8ebd82e26c778165964b71c 100644 (file)
@@ -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");
+}
index edcfc389f579fb8e79d66cd3b69da0d8b8a5c96b..4ed74a8941e79d5b4a8de4d6ad2b5baf1f621680 100644 (file)
@@ -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");
+}