summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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