From 2287e7ba8bc53159fdf03633318cf73d8671a2b4 Mon Sep 17 00:00:00 2001
From: Yang Tse <yangsita@gmail.com>
Date: Tue, 10 Nov 2009 20:20:13 +0000
Subject: [PATCH] Make some strings different in resource file for debug or
 release builds

---
 ares/cares.rc | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/ares/cares.rc b/ares/cares.rc
index cbd6b97ead..ec99ff34e8 100644
--- a/ares/cares.rc
+++ b/ares/cares.rc
@@ -41,13 +41,20 @@ BEGIN
     BLOCK "040904b0"
     BEGIN
       VALUE "CompanyName",      "The c-ares library, http://c-ares.haxx.se/\0"
+#if defined(DEBUGBUILD) || defined(_DEBUG)
+      VALUE "FileDescription",  "c-ares Debug Shared Library\0"
+      VALUE "FileVersion",      ARES_VERSION_STR "\0"
+      VALUE "InternalName",     "c-ares\0"
+      VALUE "OriginalFilename", "caresd.dll\0"
+#else
       VALUE "FileDescription",  "c-ares Shared Library\0"
       VALUE "FileVersion",      ARES_VERSION_STR "\0"
       VALUE "InternalName",     "c-ares\0"
       VALUE "OriginalFilename", "cares.dll\0"
+#endif
       VALUE "ProductName",      "The c-ares library\0"
       VALUE "ProductVersion",   ARES_VERSION_STR "\0"
-      VALUE "LegalCopyright",   "Š 2004 - 2009 Daniel Stenberg, <daniel@haxx.se>.\0"
+      VALUE "LegalCopyright",   " 2004 - 2009 Daniel Stenberg, <daniel@haxx.se>.\0"
       VALUE "License",          "http://c-ares.haxx.se/license.html\0"
     END
   END
-- 
GitLab