初版适配和修改

This commit is contained in:
cyy_mac
2026-08-07 19:04:38 +08:00
parent 460e0e9e73
commit f695460797
17 changed files with 1701 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
#ifndef GCC_COMPAT_STRING_H
#define GCC_COMPAT_STRING_H
#include <stddef.h>
void *memcpy(void *destination, const void *source, size_t count);
void *memset(void *destination, int value, size_t count);
int memcmp(const void *left, const void *right, size_t count);
size_t strlen(const char *string);
char *strcpy(char *destination, const char *source);
#endif