]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
MinGW: fix store/Controller.cc build (#2019)
authorFrancesco Chemolli <5175948+kinkie@users.noreply.github.com>
Sat, 15 Mar 2025 03:38:36 +0000 (03:38 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sat, 15 Mar 2025 03:39:30 +0000 (03:39 +0000)
    error: 'WNOHANG' was not declared in this scope

src/store/Controller.cc

index c18fdf0a8fb1c06230f050329ab1c157e71c5ce9..2903e1c13fd974b146e3d75e5bb1feb08ede477d 100644 (file)
@@ -74,7 +74,7 @@ Store::Controller::create()
 {
     disks->create();
 
-#if !_SQUID_WINDOWS_
+#if !(_SQUID_WINDOWS_ || _SQUID_MINGW_)
     pid_t pid;
     do {
         PidStatus status;