Update of /cvsroot/linuxcompressed/linux/include/linux
In directory usw-pr-cvs1:/tmp/cvs-serv23073/include/linux
Modified Files:
lzoconf.h
Log Message:
Bug fixes:
o /proc/comp_cache_stat showed the wrong size of compressed size. Fixed.
o Fixed LZO compilation problems when porting the code to 2.4.19.
Some Cleanups.
Index: lzoconf.h
===================================================================
RCS file: /cvsroot/linuxcompressed/linux/include/linux/lzoconf.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** lzoconf.h 29 May 2002 21:28:54 -0000 1.4
--- lzoconf.h 10 Sep 2002 20:19:06 -0000 1.5
***************
*** 41,45 ****
# include <config.h>
#endif
! #include <limits.h>
#ifdef __cplusplus
--- 41,60 ----
# include <config.h>
#endif
! //#include <limits.h>
! #include <linux/kernel.h>
!
! #define CHAR_BIT 8
!
! #undef UCHAR_MAX
! #define UCHAR_MAX 255
!
! /* For the sake of 16 bit hosts, we may not use -32768 */
! #define SHRT_MIN (-32767-1)
! #undef SHRT_MAX
! #define SHRT_MAX 32767
!
! /* Maximum value an `unsigned short int' can hold. (Minimum is 0). */
! #undef USHRT_MAX
! #define USHRT_MAX 65535
#ifdef __cplusplus
|