mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-24 00:21:05 +08:00
[kernel] rename RT_TINY_SIZE to RT_USING_TINY_SIZE
This commit is contained in:
+2
-2
@@ -135,7 +135,7 @@ RTM_EXPORT(_rt_errno);
|
||||
*/
|
||||
void *rt_memset(void *s, int c, rt_ubase_t count)
|
||||
{
|
||||
#ifdef RT_TINY_SIZE
|
||||
#ifdef RT_USING_TINY_SIZE
|
||||
char *xs = (char *)s;
|
||||
|
||||
while (count--)
|
||||
@@ -218,7 +218,7 @@ RTM_EXPORT(rt_memset);
|
||||
*/
|
||||
void *rt_memcpy(void *dst, const void *src, rt_ubase_t count)
|
||||
{
|
||||
#ifdef RT_TINY_SIZE
|
||||
#ifdef RT_USING_TINY_SIZE
|
||||
char *tmp = (char *)dst, *s = (char *)src;
|
||||
|
||||
while (count--)
|
||||
|
||||
Reference in New Issue
Block a user