|
From: <cn...@us...> - 2009-05-12 04:57:55
|
Revision: 227
http://hgengine.svn.sourceforge.net/hgengine/?rev=227&view=rev
Author: cnlohr
Date: 2009-05-12 04:57:54 +0000 (Tue, 12 May 2009)
Log Message:
-----------
Tell Mercury to link zlib only if the zipped file driver is being used (remove dependency on project).
Modified Paths:
--------------
Mercury2/src/MercuryFileDriverZipped.cpp
Modified: Mercury2/src/MercuryFileDriverZipped.cpp
===================================================================
--- Mercury2/src/MercuryFileDriverZipped.cpp 2009-05-12 04:57:19 UTC (rev 226)
+++ Mercury2/src/MercuryFileDriverZipped.cpp 2009-05-12 04:57:54 UTC (rev 227)
@@ -5,6 +5,12 @@
#include <zlib.h>
#include <string.h>
+#if defined(WIN32)
+# if defined(_MSC_VER)
+# pragma comment(lib, "zdll.lib")
+# endif
+#endif
+
const MString PackagePrefix = "Packages/";
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|