]> git.ipfire.org Git - thirdparty/squid.git/commit
MinGW: add mkdir adapter (#2018)
authorFrancesco Chemolli <5175948+kinkie@users.noreply.github.com>
Fri, 14 Mar 2025 17:21:31 +0000 (17:21 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Fri, 14 Mar 2025 23:49:08 +0000 (23:49 +0000)
commit23d4635a5ed3d96e91617a4319774f58ae57fa29
tree2fb413c460cf6df447a2c4828210b8e9a74c2148
parent4efe42f9f914fce0062e9780b776dec5c27faa4b
MinGW: add mkdir adapter (#2018)

On Windows, mkdir only takes one argument.
compat/mswindows.h has an adapter, add it to
compat/mingw.h as well.

Solves error:

```
UFSSwapDir.cc:617:26: error: too many arguments
    to function 'int mkdir(const char*)'
mingw/include/io.h:282:15: note: declared here
    int __cdecl mkdir (const char *);
```
compat/os/mingw.h