- MFH: Fixed a macro redefinition on BSD for different purpose

This commit is contained in:
Felipe Pena 2008-11-12 23:38:02 +00:00
parent 3c121bf15f
commit a94cd6d54f

View File

@ -71,6 +71,7 @@
#define TORRENT_MEM_LEVEL 8 #define TORRENT_MEM_LEVEL 8
#define CDENTRYSIZE 46u #define CDENTRYSIZE 46u
#define LENTRYSIZE 30 #define LENTRYSIZE 30
#undef MAXCOMLEN /* defined as 19 on BSD for max command name */
#define MAXCOMLEN 65536 #define MAXCOMLEN 65536
#define EOCDLEN 22 #define EOCDLEN 22
#define CDBUFSIZE (MAXCOMLEN+EOCDLEN) #define CDBUFSIZE (MAXCOMLEN+EOCDLEN)