This commit is contained in:
NonPIayerCharacter
2025-08-28 15:55:31 +03:00
parent e0876478d0
commit dff89205ca
23 changed files with 1647 additions and 120 deletions
+4 -1
View File
@@ -89,7 +89,10 @@ extern "C" {
#define os_strcpy(d,s) strcpy((char *)(d), (const char *)(s))
#define os_strncpy(d,s,n) strncpy((char *)(d), (const char *)(s), n)
#define os_memset(s,c,n) memset((void *)(s), c, n)
#define os_memcpy(d,s,n) memcpy((void *)(d), (const void *)(s), n)
//#define os_memcpy(d,s,n) memcpy((void *)(d), (const void *)(s), n)
#define MEMCPY memcpy
#define os_memcpy(d, s, n) MEMCPY((d), (s), (n))
//#define os_memcpy memcpy
#define os_memmove(d,s,n) memmove((void *)(d), (const void *)(s), n)
#define os_sprintf(s, ...) sprintf((char *)(s), __VA_ARGS__)
#define os_vsnprintf vsnprintf