OSDN Git Service
(root)
/
lha
/
lha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* src/lhext.c: replaced bcmp() with memcmp().
[lha/lha.git]
/
src
/
lha_macro.h
diff --git
a/src/lha_macro.h
b/src/lha_macro.h
index
96e2866
..
ae5c26f
100644
(file)
--- a/
src/lha_macro.h
+++ b/
src/lha_macro.h
@@
-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