OSDN Git Service

* src/lhext.c: replaced bcmp() with memcmp().
[lha/lha.git] / src / lha_macro.h
index 96e2866..ae5c26f 100644 (file)
@@ -325,6 +325,7 @@ typedef short                               node;
 # endif
 char *strchr (), *strrchr ();
 # if !HAVE_MEMCPY
+#  define memcmp(s1, s2, n) bcmp ((s1), (s2), (n))
 #  define memcpy(d, s, n) bcopy ((s), (d), (n))
 #  define memmove(d, s, n) bcopy ((s), (d), (n))
 # endif