diff options
author | unknown <monty@hundin.mysql.fi> | 2001-12-17 15:21:43 +0200 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-12-17 15:21:43 +0200 |
commit | 1fe5615f52ce8e59e6e7cf55eb3e6e59647b6923 (patch) | |
tree | 8d5a92c7abb198f443a6dd87136d01fe27640660 /strings | |
parent | 9ac3ef31f7ecddb6f37cd0ee175d234420a54c60 (diff) | |
download | mariadb-git-1fe5615f52ce8e59e6e7cf55eb3e6e59647b6923.tar.gz |
Fix for purify
Diffstat (limited to 'strings')
-rw-r--r-- | strings/bcmp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/strings/bcmp.c b/strings/bcmp.c index 7b510258fef..c72a80529a3 100644 --- a/strings/bcmp.c +++ b/strings/bcmp.c @@ -26,7 +26,6 @@ #include "m_string.h" #ifdef HAVE_purify -#undef bcmp #undef HAVE_BCMP #endif @@ -51,7 +50,11 @@ uint len; /* 0 <= len <= 65535 */ #else +#ifndef HAVE_purify int bcmp(register const char *s1,register const char *s2, register uint len) +#else +int my_bcmp(register const char *s1,register const char *s2, register uint len) +#endif { while (len-- != 0 && *s1++ == *s2++) ; return len+1; |