summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorayin <ayin>2007-11-25 16:06:18 +0000
committerayin <ayin>2007-11-25 16:06:18 +0000
commitc72a1f9f4f367ca86b78a29280d61ccf76b9a3f5 (patch)
tree13b9293620c4792014e9075a5750be61364b6721
parentb1420a93921758116035c0c934423abf73cb10bf (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