]> git.ipfire.org Git - thirdparty/squid.git/commit
MingGW: implement compat/pipe.h (#2029)
authorFrancesco Chemolli <5175948+kinkie@users.noreply.github.com>
Tue, 25 Mar 2025 13:01:41 +0000 (13:01 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Tue, 25 Mar 2025 15:23:36 +0000 (15:23 +0000)
commit25a99dc6ea7e13b2cc1376ae60aa28a46e4c21d1
tree72ffabe65e8fd8d23437842de5dc9ebd8b6378b1
parent4d8e3b83ca0149e4e613e34b1096d00c2bcdb59b
MingGW: implement compat/pipe.h (#2029)

The pipe(2) function is not available on Windows and mingw,
in favour of a broader _pipe() call.

Fixes the following build error:

    DiskThreads/CommIO.cc:
        In static member function 'static void CommIO::Initialize()':
    DiskThreads/CommIO.cc:26:9: error:
        'pipe' was not declared in this scope; did you mean '_pipe'?
compat/Makefile.am
compat/os/mswindows.h
compat/pipe.h [new file with mode: 0644]
src/DiskIO/DiskThreads/CommIO.cc
src/auth/negotiate/wrapper/negotiate_wrapper.cc
src/ipc.cc