ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/liblzf/lzfP.h
(Generate patch)

Comparing liblzf/lzfP.h (file contents):
Revision 1.26 by root, Sun Mar 27 23:53:23 2011 UTC vs.
Revision 1.28 by root, Sun Feb 26 03:17:50 2012 UTC

157# include <string.h> 157# include <string.h>
158# include <limits.h> 158# include <limits.h>
159#endif 159#endif
160 160
161#ifndef LZF_USE_OFFSETS 161#ifndef LZF_USE_OFFSETS
162# if defined (WIN32) || defined (_WIN32) 162# ifdef _WIN32
163# define LZF_USE_OFFSETS defined(_M_X64) 163# define LZF_USE_OFFSETS defined(_M_X64)
164# else 164# else
165# if __cplusplus > 199711L 165# if __cplusplus > 199711L
166# include <cstdint> 166# include <cstdint>
167# else 167# else
185# endif 185# endif
186#endif 186#endif
187 187
188typedef LZF_HSLOT LZF_STATE[1 << (HLOG)]; 188typedef LZF_HSLOT LZF_STATE[1 << (HLOG)];
189 189
190#if !STRICT_ALIGN
191/* for unaligned accesses we need a 16 bit datatype. */
192# if USHRT_MAX == 65535 190#if USHRT_MAX == 65535
193 typedef unsigned short u16; 191 typedef unsigned short u16;
194# elif UINT_MAX == 65535 192#elif UINT_MAX == 65535
195 typedef unsigned int u16; 193 typedef unsigned int u16;
196# else 194#else
197# undef STRICT_ALIGN 195# undef STRICT_ALIGN
198# define STRICT_ALIGN 1 196# define STRICT_ALIGN 1
199# endif
200#endif 197#endif
201 198
202#if ULTRA_FAST 199#if ULTRA_FAST
203# undef VERY_FAST 200# undef VERY_FAST
204#endif 201#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines