Files
libretiny/cores/realtek-ambz2/base/fixups/memory.h
2023-03-04 11:12:48 +01:00

18 lines
455 B
C

/* Copyright (c) Kuba Szczodrzyński 2023-03-03. */
#pragma once
// Remove SDK definitions of memory utilities.
// Include stdlib versions instead.
// Wrapper functions for the removed prototypes are provided in memory.c.
#include <platform_conf.h>
#include <string.h>
#include <utility.h>
// Map SDK functions so that they point to stdlib again
#define rt_memcmp memcmp
#define rt_memcpy memcpy
#define rt_memmove memmove
#define rt_memset memset