1
0
mirror of https://github.com/squid-cache/squid.git synced 2025-04-18 22:04:07 +03:00
Francesco Chemolli 84bb09abbd MinGW: Fix aiops_win32.cc (#2030)
Fixed missing includes, type mismatches in some
local variables, applied some AAA;
extracted WIN32_maperror
into own header and implementation files using NoMoreGlobals,
and used modern c++ data types for it.

This change also mirrors changes introduced in aiops.cc by commit
91d1cfb. These changes require further refinement (in both files).

Examples of errors fixed:
```
aiops_win32.cc: In function
    'void* squidaio_xmalloc(int)':
aiops_win32.cc:161:17: error:
    invalid use of incomplete type 'class Mem::Allocator'

aiops_win32.cc: In function 'void squidaio_init()':
aiops_win32.cc:278:19: error:
    comparison of integer expressions of different signedness:
    'int' and 'size_t' {aka 'long long unsigned int'}

aiops_win32.cc: In function
    'void squidaio_do_read(squidaio_request_t*)':
aiops_win32.cc:782:9: error:
    'WIN32_maperror' was not declared in this scope
```
2025-03-30 08:53:34 +00:00
..
2025-03-30 08:53:34 +00:00
2023-01-22 08:35:27 +00:00
2023-01-22 08:35:27 +00:00
2023-01-22 08:35:27 +00:00
2023-01-22 08:35:27 +00:00
2023-01-22 08:35:27 +00:00
2023-01-22 08:35:27 +00:00
2023-01-22 08:35:27 +00:00
2023-01-22 08:35:27 +00:00
2023-01-22 08:35:27 +00:00
2025-03-30 08:53:34 +00:00
2023-01-22 08:35:27 +00:00
2023-01-22 08:35:27 +00:00
2025-03-30 08:53:34 +00:00
2025-03-25 15:23:36 +00:00
2023-01-22 08:35:27 +00:00
2023-01-22 08:35:27 +00:00
2023-01-22 08:35:27 +00:00
2023-01-22 08:35:27 +00:00
2023-06-22 13:07:26 +00:00
2023-01-22 08:35:27 +00:00
2023-01-22 08:35:27 +00:00
2023-01-22 08:35:27 +00:00