aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-05-11 14:24:42 +0300
committerLasse Collin <lasse.collin@tukaani.org>2008-05-11 14:24:42 +0300
commited6664146fcbe9cc4a3b23b31632182ed812ea93 (patch)
tree310b89627cfb627574090d64b0e9b016c3a4b78e /src/liblzma/common
parentImproved C99 compiler detection in configure.ac. It will (diff)
downloadxz-ed6664146fcbe9cc4a3b23b31632182ed812ea93.tar.xz
Remove support for pre-C89 libc versions that lack memcpy,
memmove, and memset.
Diffstat (limited to 'src/liblzma/common')
-rw-r--r--src/liblzma/common/allocator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/common/allocator.c b/src/liblzma/common/allocator.c
index c5970312..5ced9d16 100644
--- a/src/liblzma/common/allocator.c
+++ b/src/liblzma/common/allocator.c
@@ -35,7 +35,7 @@ lzma_alloc(size_t size, lzma_allocator *allocator)
else
ptr = malloc(size);
-#if !defined(NDEBUG) && defined(HAVE_MEMSET)
+#ifndef NDEBUG
// This helps to catch some stupid mistakes, but also hides them from
// Valgrind. Uncomment when useful.
// if (ptr != NULL)