summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kanthak <stefan.kanthak@nexgo.de>2018-12-07 16:39:35 +0100
committerDaniel Stenberg <daniel@haxx.se>2018-12-07 16:39:35 +0100
commit1a9055f72b45fb31a77b0b8d6e653fd4e55677a9 (patch)
treeb9a8bb96581c287dca55752f5d1f6609c9447189
parentcbea2fd2c74feabeb6f13b3e3df243b225b3b3ab (diff)
downloadcurl-bagder/curl-rc-files.tar.gz
(lib)curl.rc: fixup for minor bugsbagder/curl-rc-files
All resources defined in lib/libcurl.rc and curl.rc are language neutral winbuild/MakefileBuild.vc ALWAYS defines the macro DEBUGBUILD, so the replace the hard-coded constants in both *.rc files with #define'd values URL: https://curl.haxx.se/mail/lib-2018-11/0000.html
-rw-r--r--lib/libcurl.rc12
-rw-r--r--src/curl.rc10
2 files changed, 11 insertions, 11 deletions
diff --git a/lib/libcurl.rc b/lib/libcurl.rc
index 3316fba19..4839d0a65 100644
--- a/lib/libcurl.rc
+++ b/lib/libcurl.rc
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -22,22 +22,22 @@
#include <winver.h>
#include "../include/curl/curlver.h"
-LANGUAGE 0x09,0x01
+LANGUAGE 0, 0
#define RC_VERSION LIBCURL_VERSION_MAJOR, LIBCURL_VERSION_MINOR, LIBCURL_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_DLL
- FILESUBTYPE 0x0L
+ FILESUBTYPE 0L
BEGIN
BLOCK "StringFileInfo"
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"