mirror of
https://github.com/InoriRus/Kyty.git
synced 2026-08-28 05:06:40 +00:00
add Linux support
This commit is contained in:
@@ -210,7 +210,11 @@ void* mem_alloc(size_t size)
|
||||
{
|
||||
if (size == 0)
|
||||
{
|
||||
#if KYTY_PLATFORM == KYTY_PLATFORM_LINUX
|
||||
size = 1;
|
||||
#else
|
||||
EXIT("size == 0\n");
|
||||
#endif
|
||||
}
|
||||
|
||||
if ((g_mem_max_size != 0u) && size > g_mem_max_size)
|
||||
|
||||
Reference in New Issue
Block a user