From a94cd6d54f0833e3b0656ac42b4634f5db4744e6 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Wed, 12 Nov 2008 23:38:02 +0000 Subject: [PATCH] - MFH: Fixed a macro redefinition on BSD for different purpose --- ext/zip/lib/zipint.h | 1 + 1 file changed, 1 insertion(+) 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) -- 2.50.1