]> granicus.if.org Git - curl/commitdiff
Take in account that it can be built with compiler debug info and
authorYang Tse <yangsita@gmail.com>
Fri, 13 Apr 2007 08:22:56 +0000 (08:22 +0000)
committerYang Tse <yangsita@gmail.com>
Fri, 13 Apr 2007 08:22:56 +0000 (08:22 +0000)
without the curl memory debugging leak detection code enabled.

lib/libcurl.rc
src/curl.rc

index c3945e3717b395356a98ccc22cb8b691f97be94c..eed602e76e593d5658070eaa948ecb33c5ee949b 100644 (file)
@@ -31,7 +31,7 @@ VS_VERSION_INFO VERSIONINFO
   FILEVERSION     RC_VERSION
   PRODUCTVERSION  RC_VERSION
   FILEFLAGSMASK   0x3fL
-#if CURLDEBUG
+#if defined(CURLDEBUG) || defined(_DEBUG)
   FILEFLAGS 1
 #else
   FILEFLAGS 0
index 0bb35a4902f06b4548c42e28a479b768e3fd54ba..56d972991fce9192d6b21bb5c329721679b09ed6 100644 (file)
@@ -31,7 +31,7 @@ VS_VERSION_INFO VERSIONINFO
   FILEVERSION     RC_VERSION
   PRODUCTVERSION  RC_VERSION
   FILEFLAGSMASK   0x3fL
-#if CURLDEBUG
+#if defined(CURLDEBUG) || defined(_DEBUG)
   FILEFLAGS 1
 #else
   FILEFLAGS 0