option(CURL_CLANG_TIDY "Run the build through clang-tidy" OFF)
if(CURL_CLANG_TIDY)
# clang-tidy is not looking into #included sources, thus not compatible with
- # unity builds and test bundles.
+ # unity builds. Make test bundles compatible by embedding the source code.
set(CMAKE_UNITY_BUILD OFF)
set(CURL_MK_UNITY_OPTION "--embed")
set(_tidy_checks "")
DWORD dwExclusiveFlags;
};
+/* Not defined before mingw-w64 4.0.0 */
#ifndef CERT_CHAIN_EXCLUSIVE_ENABLE_CA_FLAG
-/* Not defined for any MINGW build */
#define CERT_CHAIN_EXCLUSIVE_ENABLE_CA_FLAG 0x00000001
#endif
HCERTSTORE hExclusiveTrustedPeople;
};
-
#ifndef UNDER_CE
static int is_cr_or_lf(char c)
{