diff options
author | Stefan Kanthak <stefan.kanthak@nexgo.de> | 2018-12-07 16:39:35 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-12-10 00:10:04 +0100 |
commit | e1360a1c9130269440c7a0ff2e1e2e30fc531818 (patch) | |
tree | 8a8f0575a1308831c912196b252c7c13dd0fcd08 /src | |
parent | 4e326f924720e543cd8f16f8e8c7d11720490fdd (diff) | |
download | curl-e1360a1c9130269440c7a0ff2e1e2e30fc531818.tar.gz |
(lib)curl.rc: fixup for minor bugs
All resources defined in lib/libcurl.rc and curl.rc are language
neutral.
winbuild/MakefileBuild.vc ALWAYS defines the macro DEBUGBUILD, so the
ifdef's in line 33 of lib/libcurl.rc and src/curl.rc are wrong.
Replace the hard-coded constants in both *.rc files with #define'd
values.
Thumbs-uped-by: Rod Widdowson, Johannes Schindelin
URL: https://curl.haxx.se/mail/lib-2018-11/0000.html
Closes #3348
Diffstat (limited to 'src')
-rw-r--r-- | src/curl.rc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/curl.rc b/src/curl.rc index d47f50635..4dac2ae70 100644 --- a/src/curl.rc +++ b/src/curl.rc @@ -22,22 +22,22 @@ #include <winver.h> #include "tool_version.h" -LANGUAGE 0x09,0x01 +LANGUAGE 0, 0 #define RC_VERSION CURL_VERSION_MAJOR, CURL_VERSION_MINOR, CURL_VERSION_PATCH, 0 VS_VERSION_INFO VERSIONINFO FILEVERSION RC_VERSION PRODUCTVERSION RC_VERSION - FILEFLAGSMASK 0x3fL + FILEFLAGSMASK VS_FFI_FILEFLAGSMASK #if defined(DEBUGBUILD) || defined(_DEBUG) - FILEFLAGS 1 + FILEFLAGS VS_FF_DEBUG #else - FILEFLAGS 0 + FILEFLAGS 0L #endif FILEOS VOS__WINDOWS32 FILETYPE VFT_APP - FILESUBTYPE 0x0L + FILESUBTYPE 0L BEGIN BLOCK "StringFileInfo" |