From: Felipe Pena Date: Wed, 12 Nov 2008 23:37:47 +0000 (+0000) Subject: - Fixed a macro redefinition on BSD for different purpose X-Git-Tag: BEFORE_HEAD_NS_CHANGE~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4979fc17e3312cae030dcd045547a6aadd754bb7;p=php - Fixed a macro redefinition on BSD for different purpose --- 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)