clang-tidy: work around clang-tidy <=20 false positive (Windows)
No binary (build failed)
—
(log yok)
| @@ -1105,7 +1105,9 @@ typedef unsigned int curl_bit; | |
| #define SOCKEINVAL WSAEINVAL | |
| #define SOCKEISCONN WSAEISCONN | |
| #define SOCKEMSGSIZE WSAEMSGSIZE | |
| - | #define SOCKENOMEM WSA_NOT_ENOUGH_MEMORY |
| + | /* Use literal value to work around clang-tidy <=20 misreporting |
| + | 'readability-uppercase-literal-suffix' with mingw-w64 headers */ |
| + | #define SOCKENOMEM 8L /* WSA_NOT_ENOUGH_MEMORY */ |
| #define SOCKETIMEDOUT WSAETIMEDOUT | |
| #define SOCKEWOULDBLOCK WSAEWOULDBLOCK | |
| #else | |