Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nemequ/liblzf.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorayin <ayin>2007-11-25 19:06:18 +0300
committerayin <ayin>2007-11-25 19:06:18 +0300
commitc276c43bcda50a62177ba3c3ce884a99e4ee4260 (patch)
tree13b9293620c4792014e9075a5750be61364b6721
parent61b7c18a8c4ef58303212b11fe29a6f982ad00b2 (diff)
*** empty log message ***
-rw-r--r--configure.ac4
-rw-r--r--lzf_c.c2
2 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 830eb9d..58316a0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,10 +10,6 @@ AC_PROG_RANLIB
AC_PROG_INSTALL
AC_HEADER_STDC
-AC_CHECK_SIZEOF(short, 2)
-AC_CHECK_SIZEOF(int, 4)
-AC_CHECK_SIZEOF(long, 4)
-
AC_C_CONST
AC_C_INLINE
AC_CHECK_HEADERS(getopt.h)
diff --git a/lzf_c.c b/lzf_c.c
index c9c05a4..25aabed 100644
--- a/lzf_c.c
+++ b/lzf_c.c
@@ -138,7 +138,7 @@ lzf_compress (const void *const in_data, unsigned int in_len,
ref = *hslot; *hslot = ip;
if (1
-#if INIT_HTAB && !USE_MEMCPY
+#if INIT_HTAB
&& ref < ip /* the next test will actually take care of this, but this is faster */
#endif
&& (off = ip - ref - 1) < MAX_OFF