add fallback code for memcpy
This commit is contained in:
parent
622b403f08
commit
52c924f62a
1 changed files with 3 additions and 3 deletions
|
@ -8,9 +8,9 @@
|
|||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
|
||||
#include <metalsvm/string.h>
|
||||
#include <metalsvm/stddef.h>
|
||||
|
||||
#ifndef HAVE_ARCH_MEMCPY
|
||||
//#ifndef HAVE_ARCH_MEMCPY
|
||||
void *memcpy(void *dest, const void *src, size_t count)
|
||||
{
|
||||
size_t i;
|
||||
|
@ -23,7 +23,7 @@ void *memcpy(void *dest, const void *src, size_t count)
|
|||
|
||||
return dest;
|
||||
}
|
||||
#endif
|
||||
//#endif
|
||||
|
||||
#ifndef HAVE_ARCH_MEMSET
|
||||
void *memset(void *dest, int val, size_t count)
|
||||
|
|
Loading…
Add table
Reference in a new issue