]> granicus.if.org Git - curl/commitdiff
Make some strings different in resource file for debug or release builds
authorYang Tse <yangsita@gmail.com>
Tue, 10 Nov 2009 20:20:13 +0000 (20:20 +0000)
committerYang Tse <yangsita@gmail.com>
Tue, 10 Nov 2009 20:20:13 +0000 (20:20 +0000)
ares/cares.rc

index cbd6b97ead9fd913e2bb7ce3e25be6509bdcd704..ec99ff34e843b2d5b6034dbc248a8ff2a93974e9 100644 (file)
@@ -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