From: Viktor Szakats Date: Tue, 21 May 2024 08:34:04 +0000 (+0200) Subject: (lib)curl.rc: set debug flag also for `CURLDEBUG` and `UNITTESTS` X-Git-Tag: curl-8_9_0~422 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d13a3a66353579a9beeeee6b89a0201144b57665;p=thirdparty%2Fcurl.git (lib)curl.rc: set debug flag also for `CURLDEBUG` and `UNITTESTS` These macros also enable debug features in both libcurl and curl. Enable `VS_FF_DEBUG` version resource flag when they are set. Closes #13730 --- diff --git a/lib/libcurl.rc b/lib/libcurl.rc index daa2d62d8a..1ceb4691fb 100644 --- a/lib/libcurl.rc +++ b/lib/libcurl.rc @@ -32,7 +32,7 @@ VS_VERSION_INFO VERSIONINFO FILEVERSION RC_VERSION PRODUCTVERSION RC_VERSION FILEFLAGSMASK VS_FFI_FILEFLAGSMASK -#if defined(DEBUGBUILD) || defined(_DEBUG) +#if defined(DEBUGBUILD) || defined(UNITTESTS) || defined(CURLDEBUG) || defined(_DEBUG) FILEFLAGS VS_FF_DEBUG #else FILEFLAGS 0L diff --git a/src/curl.rc b/src/curl.rc index 6fcaf353e4..475dfbe896 100644 --- a/src/curl.rc +++ b/src/curl.rc @@ -32,7 +32,7 @@ VS_VERSION_INFO VERSIONINFO FILEVERSION RC_VERSION PRODUCTVERSION RC_VERSION FILEFLAGSMASK VS_FFI_FILEFLAGSMASK -#if defined(DEBUGBUILD) || defined(_DEBUG) +#if defined(DEBUGBUILD) || defined(UNITTESTS) || defined(CURLDEBUG) || defined(_DEBUG) FILEFLAGS VS_FF_DEBUG #else FILEFLAGS 0L