summaryrefslogtreecommitdiffstats
path: root/src/misc
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2008-07-18 08:01:00 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2008-07-18 08:01:00 -0700
commit13f52980dae9821b3d7bec9ff6a0fa4e544607d7 (patch)
tree5f5e5ce0f792bf41c6081ec77b0437a11380b696 /src/misc
parentd63a0cbbfd3979bb1423946fd1853411fbc66210 (diff)
downloadabc-13f52980dae9821b3d7bec9ff6a0fa4e544607d7.tar.gz
abc-13f52980dae9821b3d7bec9ff6a0fa4e544607d7.tar.bz2
abc-13f52980dae9821b3d7bec9ff6a0fa4e544607d7.zip
Version abc80718
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/extra/extra.h2
-rw-r--r--src/misc/vec/vec.h2
-rw-r--r--src/misc/zlib/1.c35
3 files changed, 2 insertions, 37 deletions
diff --git a/src/misc/extra/extra.h b/src/misc/extra/extra.h
index f45afcbe..d63ed5d3 100644
--- a/src/misc/extra/extra.h
+++ b/src/misc/extra/extra.h
@@ -43,7 +43,7 @@ extern "C" {
// this include should be the first one in the list
// it is used to catch memory leaks on Windows
-#ifdef ABC_CHECK_LEAKS
+#if defined(_DEBUG) && defined(_MSC_VER) && (_MSC_VER <= 1200) // 1200 = MSVC 6.0
#include "leaks.h"
#endif
diff --git a/src/misc/vec/vec.h b/src/misc/vec/vec.h
index 03de79f1..4c19b5ee 100644
--- a/src/misc/vec/vec.h
+++ b/src/misc/vec/vec.h
@@ -50,7 +50,7 @@ typedef long long sint64;
// this include should be the first one in the list
// it is used to catch memory leaks on Windows
-#ifdef ABC_CHECK_LEAKS
+#if defined(_DEBUG) && defined(_MSC_VER) && (_MSC_VER <= 1200) // 1200 = MSVC 6.0
#include "leaks.h"
#endif
diff --git a/src/misc/zlib/1.c b/src/misc/zlib/1.c
deleted file mode 100644
index 8a06a346..00000000
--- a/src/misc/zlib/1.c
+++ /dev/null
@@ -1,35 +0,0 @@
- Volume in drive C is IBM_PRELOAD
- Volume Serial Number is 20EA-F780
-
- Directory of C:\_projects\abc\src\misc\zlib
-
-07/02/2008 03:51 PM <DIR> .
-07/02/2008 03:51 PM <DIR> ..
-07/02/2008 03:51 PM 0 1.c
-12/21/2004 04:52 PM 4,708 adler32.c
-06/02/2003 06:16 AM 9,545 algorithm.txt
-07/07/2003 07:37 AM 2,568 compress_.c
-06/13/2005 01:56 AM 13,616 crc32.c
-01/05/2003 04:53 PM 31,009 crc32.h
-07/18/2005 04:27 AM 65,899 deflate.c
-05/29/2005 05:55 PM 12,445 deflate.h
-07/11/2005 10:31 PM 32,129 gzio.c
-05/31/2005 12:58 AM 22,787 infback.c
-11/13/2004 06:05 AM 12,886 inffast.c
-01/01/2003 05:46 PM 418 inffast.h
-11/24/2002 11:44 PM 6,437 inffixed.h
-06/14/2005 11:50 PM 50,345 inflate.c
-11/13/2004 05:38 AM 6,031 inflate.h
-07/18/2005 04:27 AM 14,085 inftrees.c
-07/11/2005 08:50 AM 2,428 inftrees.h
-07/02/2008 02:52 PM 34 link.txt
-07/18/2005 04:25 AM 5,821 README
-06/13/2005 02:34 AM 45,246 trees.c
-02/24/1998 12:14 PM 8,572 trees.h
-07/07/2003 07:36 AM 2,148 uncompr.c
-05/28/2005 08:40 AM 9,876 zconf.h
-07/18/2005 04:26 AM 67,545 zlib.h
-06/13/2005 02:37 AM 7,454 zutil.c
-07/11/2005 10:35 PM 7,128 zutil.h
- 26 File(s) 441,160 bytes
- 2 Dir(s) 1,641,279,488 bytes free