summaryrefslogtreecommitdiff
path: root/ext/zip/lib/zipint.h
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-11-12 23:38:02 +0000
committerFelipe Pena <felipe@php.net>2008-11-12 23:38:02 +0000
commita94cd6d54f0833e3b0656ac42b4634f5db4744e6 (patch)
tree1b2c58236efe857a1792f762a7fe33b32be553f2 /ext/zip/lib/zipint.h
parent3c121bf15fec70f630a1c4ba479269d3bff98436 (diff)
downloadphp-git-a94cd6d54f0833e3b0656ac42b4634f5db4744e6.tar.gz
- MFH: Fixed a macro redefinition on BSD for different purpose
Diffstat (limited to 'ext/zip/lib/zipint.h')
-rw-r--r--ext/zip/lib/zipint.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/zip/lib/zipint.h b/ext/zip/lib/zipint.h
index 25d6bec98f..e291b8b3c3 100644
--- a/ext/zip/lib/zipint.h
+++ b/ext/zip/lib/zipint.h
@@ -71,6 +71,7 @@
#define TORRENT_MEM_LEVEL 8
#define CDENTRYSIZE 46u
#define LENTRYSIZE 30
+#undef MAXCOMLEN /* defined as 19 on BSD for max command name */
#define MAXCOMLEN 65536
#define EOCDLEN 22
#define CDBUFSIZE (MAXCOMLEN+EOCDLEN)