mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 06:25:03 -05:00
89f1e639f6
We use `check_c_source_compiles` to check possible send/recv signatures by reproducing the forward declarations from system headers. On Windows the `winsock2.h` header adds dll linkage settings to its forward declaration. If ours does not match the compiler warns: warning C4273: 'recv': inconsistent dll linkage Add `WINSOCK_API_LINKAGE` to our test signatures when it is defined so that our linkage is consistent with that from `winsock2.h`. Fixes #4764 Closes #5232 |
||
---|---|---|
.. | ||
Platforms | ||
cmake_uninstall.cmake.in | ||
CMakeConfigurableFile.in | ||
curl-config.cmake.in | ||
CurlSymbolHiding.cmake | ||
CurlTests.c | ||
FindBearSSL.cmake | ||
FindBrotli.cmake | ||
FindCARES.cmake | ||
FindGSS.cmake | ||
FindLibSSH2.cmake | ||
FindMbedTLS.cmake | ||
FindNGHTTP2.cmake | ||
FindNSS.cmake | ||
FindWolfSSL.cmake | ||
Macros.cmake | ||
OtherTests.cmake | ||
Utilities.cmake |