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

Comparing liblzf/lzfP.h (file contents):
Revision 1.14 by root, Thu Sep 28 12:36:50 2006 UTC vs.
Revision 1.15 by root, Thu Jun 21 22:11:34 2007 UTC

84#ifndef STRICT_ALIGN 84#ifndef STRICT_ALIGN
85# define STRICT_ALIGN !(defined(__i386) || defined (__amd64)) 85# define STRICT_ALIGN !(defined(__i386) || defined (__amd64))
86#endif 86#endif
87 87
88/* 88/*
89 * Use string functions to copy memory.
90 * this is usually a loss, even with glibc's optimized memcpy
91 */
92#ifndef USE_MEMCPY
93# define USE_MEMCPY 0
94#endif
95
96/*
97 * You may choose to pre-set the hash table (might be faster on some 89 * You may choose to pre-set the hash table (might be faster on some
98 * modern cpus and large (>>64k) blocks, and also makes compression 90 * modern cpus and large (>>64k) blocks, and also makes compression
99 * deterministic/repeatable when the configuration otherwise is the same). 91 * deterministic/repeatable when the configuration otherwise is the same).
100 */ 92 */
101#ifndef INIT_HTAB 93#ifndef INIT_HTAB
156# if defined(VERY_FAST) 148# if defined(VERY_FAST)
157# undef VERY_FAST 149# undef VERY_FAST
158# endif 150# endif
159#endif 151#endif
160 152
161#if USE_MEMCPY || INIT_HTAB 153#if INIT_HTAB
162# ifdef __cplusplus 154# ifdef __cplusplus
163# include <cstring> 155# include <cstring>
164# else 156# else
165# include <string.h> 157# include <string.h>
166# endif 158# endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines